Package org.elasticsearch.index.analysis
Class StopTokenFilterFactory
java.lang.Object
org.elasticsearch.index.AbstractIndexComponent
org.elasticsearch.index.analysis.AbstractTokenFilterFactory
org.elasticsearch.index.analysis.StopTokenFilterFactory
- All Implemented Interfaces:
TokenFilterFactory
,IndexComponent
public class StopTokenFilterFactory 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 StopTokenFilterFactory(IndexSettings indexSettings, Environment env, java.lang.String name, Settings settings)
-
Method Summary
Modifier and Type Method Description org.apache.lucene.analysis.TokenStream
create(org.apache.lucene.analysis.TokenStream tokenStream)
boolean
ignoreCase()
java.util.Set<?>
stopWords()
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
-
StopTokenFilterFactory
public StopTokenFilterFactory(IndexSettings indexSettings, Environment env, java.lang.String name, Settings settings)
-
-
Method Details
-
create
public org.apache.lucene.analysis.TokenStream create(org.apache.lucene.analysis.TokenStream tokenStream) -
stopWords
public java.util.Set<?> stopWords() -
ignoreCase
public boolean ignoreCase()
-