org.elasticsearch.index.analysis.compound
Class AbstractCompoundWordTokenFilterFactory

java.lang.Object
  extended by org.elasticsearch.index.AbstractIndexComponent
      extended by org.elasticsearch.index.analysis.AbstractTokenFilterFactory
          extended by org.elasticsearch.index.analysis.compound.AbstractCompoundWordTokenFilterFactory
All Implemented Interfaces:
TokenFilterFactory, IndexComponent
Direct Known Subclasses:
DictionaryCompoundWordTokenFilterFactory, HyphenationCompoundWordTokenFilterFactory

public abstract class AbstractCompoundWordTokenFilterFactory
extends AbstractTokenFilterFactory

Contains the common configuration settings between subclasses of this class.


Field Summary
protected  int maxSubwordSize
           
protected  int minSubwordSize
           
protected  int minWordSize
           
protected  boolean onlyLongestMatch
           
protected  Set<?> 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
AbstractCompoundWordTokenFilterFactory(Index index, Settings indexSettings, Environment env, String name, Settings settings)
           
 
Method Summary
 
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
 
Methods inherited from interface org.elasticsearch.index.analysis.TokenFilterFactory
create
 

Field Detail

minWordSize

protected final int minWordSize

minSubwordSize

protected final int minSubwordSize

maxSubwordSize

protected final int maxSubwordSize

onlyLongestMatch

protected final boolean onlyLongestMatch

wordList

protected final Set<?> wordList
Constructor Detail

AbstractCompoundWordTokenFilterFactory

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


Copyright © 2009-2012. All Rights Reserved.