What exactly does the Standard tokenfilter do in Elasticsearch?

前端 未结 2 1562
遇见更好的自我
遇见更好的自我 2021-01-18 05:40

There are no examples in the documentation, and I was just wondering what to expect from input I give it.

2条回答
  •  独厮守ぢ
    2021-01-18 06:14

    Here's an excerpt of the source code of StandardFilter from Lucene trunk. It really does nothing.

    public final boolean incrementToken() throws IOException {
        return input.incrementToken(); // TODO: add some niceties for the new grammar
    }
    

提交回复
热议问题