org.elasticsearch.index.analysis.compound
Class DictionaryCompoundWordTokenFilterFactory

java.lang.Object
  extended by org.elasticsearch.index.AbstractIndexComponent
      extended by org.elasticsearch.index.analysis.AbstractTokenFilterFactory
          extended by org.elasticsearch.index.analysis.compound.AbstractCompoundWordTokenFilterFactory
              extended by 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

Field Summary
 
Fields inherited from class org.elasticsearch.index.analysis.compound.AbstractCompoundWordTokenFilterFactory
maxSubwordSize, minSubwordSize, minWordSize, onlyLongestMatch, wordList
 
Fields inherited from class org.elasticsearch.index.analysis.AbstractTokenFilterFactory
version
 
Fields inherited from class org.elasticsearch.index.AbstractIndexComponent
componentSettings, index, indexSettings, logger
 
Constructor Summary
DictionaryCompoundWordTokenFilterFactory(Index index, Settings indexSettings, Environment env, String name, Settings settings)
           
 
Method Summary
 org.apache.lucene.analysis.TokenStream create(org.apache.lucene.analysis.TokenStream tokenStream)
           
 
Methods inherited from class org.elasticsearch.index.analysis.AbstractTokenFilterFactory
name
 
Methods inherited from class org.elasticsearch.index.AbstractIndexComponent
index, nodeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DictionaryCompoundWordTokenFilterFactory

@Inject
public DictionaryCompoundWordTokenFilterFactory(Index index,
                                                       @IndexSettings
                                                       Settings indexSettings,
                                                       Environment env,
                                                       String name,
                                                       Settings settings)
Method Detail

create

public org.apache.lucene.analysis.TokenStream create(org.apache.lucene.analysis.TokenStream tokenStream)


Copyright © 2009-2012. All Rights Reserved.