org.elasticsearch.index.analysis.compound
Class DictionaryCompoundWordTokenFilterFactory
java.lang.Object
org.elasticsearch.index.AbstractIndexComponent
org.elasticsearch.index.analysis.AbstractTokenFilterFactory
org.elasticsearch.index.analysis.compound.AbstractCompoundWordTokenFilterFactory
org.elasticsearch.index.analysis.compound.DictionaryCompoundWordTokenFilterFactory
- All Implemented Interfaces:
- TokenFilterFactory, IndexComponent
@AnalysisSettingsRequired
public class DictionaryCompoundWordTokenFilterFactory
- extends AbstractCompoundWordTokenFilterFactory
Uses the DictionaryCompoundWordTokenFilter
to decompound tokens using a dictionary.
- See Also:
DictionaryCompoundWordTokenFilter
Method Summary |
org.apache.lucene.analysis.TokenStream |
create(org.apache.lucene.analysis.TokenStream tokenStream)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DictionaryCompoundWordTokenFilterFactory
@Inject
public DictionaryCompoundWordTokenFilterFactory(Index index,
@IndexSettings
Settings indexSettings,
Environment env,
String name,
Settings settings)
create
public org.apache.lucene.analysis.TokenStream create(org.apache.lucene.analysis.TokenStream tokenStream)
Copyright © 2009-2012. All Rights Reserved.