org.elasticsearch.index.analysis.compound
Class HyphenationCompoundWordTokenFilterFactory

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.HyphenationCompoundWordTokenFilterFactory
All Implemented Interfaces:
TokenFilterFactory, IndexComponent

@AnalysisSettingsRequired
public class HyphenationCompoundWordTokenFilterFactory
extends AbstractCompoundWordTokenFilterFactory

Uses the HyphenationCompoundWordTokenFilter to decompound tokens based on hyphenation rules.

See Also:
HyphenationCompoundWordTokenFilter

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
HyphenationCompoundWordTokenFilterFactory(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

HyphenationCompoundWordTokenFilterFactory

@Inject
public HyphenationCompoundWordTokenFilterFactory(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.