Class ShingleTokenFilterFactory

java.lang.Object
org.elasticsearch.index.analysis.AbstractTokenFilterFactory
org.elasticsearch.index.analysis.ShingleTokenFilterFactory
All Implemented Interfaces:
TokenFilterFactory

public class ShingleTokenFilterFactory extends AbstractTokenFilterFactory
  • Constructor Details

  • Method Details

    • create

      public org.apache.lucene.analysis.TokenStream create(org.apache.lucene.analysis.TokenStream tokenStream)
    • getSynonymFilter

      public TokenFilterFactory getSynonymFilter()
      Description copied from interface: TokenFilterFactory
      Return a version of this TokenFilterFactory appropriate for synonym parsing Filters that should not be applied to synonyms (for example, those that produce multiple tokens) should throw an exception
    • getInnerFactory

      public ShingleTokenFilterFactory.Factory getInnerFactory()