Class ShingleTokenFilterFactory.Factory

java.lang.Object
org.elasticsearch.index.analysis.ShingleTokenFilterFactory.Factory
All Implemented Interfaces:
TokenFilterFactory
Enclosing class:
ShingleTokenFilterFactory

public static final class ShingleTokenFilterFactory.Factory extends Object implements TokenFilterFactory
  • Constructor Details

    • Factory

      public Factory(String name)
  • Method Details

    • create

      public org.apache.lucene.analysis.TokenStream create(org.apache.lucene.analysis.TokenStream tokenStream)
      Specified by:
      create in interface TokenFilterFactory
    • getMaxShingleSize

      public int getMaxShingleSize()
    • getMinShingleSize

      public int getMinShingleSize()
    • getOutputUnigrams

      public boolean getOutputUnigrams()
    • getOutputUnigramsIfNoShingles

      public boolean getOutputUnigramsIfNoShingles()
    • name

      public String name()
      Specified by:
      name in interface TokenFilterFactory