Package org.elasticsearch.index.analysis
Class HunspellTokenFilterFactory
java.lang.Object
org.elasticsearch.index.AbstractIndexComponent
org.elasticsearch.index.analysis.AbstractTokenFilterFactory
org.elasticsearch.index.analysis.HunspellTokenFilterFactory
- All Implemented Interfaces:
TokenFilterFactory
,IndexComponent
public class HunspellTokenFilterFactory extends AbstractTokenFilterFactory
-
Field Summary
Fields inherited from class org.elasticsearch.index.analysis.AbstractTokenFilterFactory
version
Fields inherited from class org.elasticsearch.index.AbstractIndexComponent
deprecationLogger, indexSettings, logger
Fields inherited from interface org.elasticsearch.index.analysis.TokenFilterFactory
IDENTITY_FILTER
-
Constructor Summary
Constructors Constructor Description HunspellTokenFilterFactory(IndexSettings indexSettings, java.lang.String name, Settings settings, HunspellService hunspellService)
-
Method Summary
Modifier and Type Method Description org.apache.lucene.analysis.TokenStream
create(org.apache.lucene.analysis.TokenStream tokenStream)
boolean
dedup()
boolean
longestOnly()
Methods inherited from class org.elasticsearch.index.analysis.AbstractTokenFilterFactory
name, version
Methods inherited from class org.elasticsearch.index.AbstractIndexComponent
getIndexSettings, index
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.index.analysis.TokenFilterFactory
breaksFastVectorHighlighter, getAnalysisMode, getChainAwareTokenFilterFactory, getSynonymFilter, normalize
-
Constructor Details
-
HunspellTokenFilterFactory
public HunspellTokenFilterFactory(IndexSettings indexSettings, java.lang.String name, Settings settings, HunspellService hunspellService)
-
-
Method Details
-
create
public org.apache.lucene.analysis.TokenStream create(org.apache.lucene.analysis.TokenStream tokenStream) -
dedup
public boolean dedup() -
longestOnly
public boolean longestOnly()
-