Package org.elasticsearch.index.analysis
Class ShingleTokenFilterFactory
org.elasticsearch.index.AbstractIndexComponent
org.elasticsearch.index.analysis.AbstractTokenFilterFactory
org.elasticsearch.index.analysis.ShingleTokenFilterFactory
- All Implemented Interfaces:
TokenFilterFactory
,IndexComponent
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.elasticsearch.index.AbstractIndexComponent
deprecationLogger, indexSettings, logger
Fields inherited from interface org.elasticsearch.index.analysis.TokenFilterFactory
IDENTITY_FILTER
-
Constructor Summary
ConstructorsConstructorDescriptionShingleTokenFilterFactory(IndexSettings indexSettings, Environment environment, name, Settings settings)
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.analysis.TokenStream
create(org.apache.lucene.analysis.TokenStream tokenStream)
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 exceptionMethods inherited from class org.elasticsearch.index.analysis.AbstractTokenFilterFactory
name
Methods inherited from class org.elasticsearch.index.AbstractIndexComponent
getIndexSettings, index
Methods inherited from class java.lang.
, , , , , , , , , ,
Methods inherited from interface org.elasticsearch.index.analysis.TokenFilterFactory
breaksFastVectorHighlighter, getAnalysisMode, getChainAwareTokenFilterFactory, normalize
-
Constructor Details
-
ShingleTokenFilterFactory
public ShingleTokenFilterFactory(IndexSettings indexSettings, Environment environment, name, Settings settings)
-
-
Method Details
-
create
public org.apache.lucene.analysis.TokenStream create(org.apache.lucene.analysis.TokenStream tokenStream) -
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
-