Class ShingleTokenFilterFactory

    • Constructor Detail

      • ShingleTokenFilterFactory

        public ShingleTokenFilterFactory​(IndexSettings indexSettings,
                                         Environment environment,
                                         java.lang.String name,
                                         Settings settings)
    • Method Detail

      • 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