org.elasticsearch.index.analysis
Class IcuNormalizerTokenFilterFactory

java.lang.Object
  extended by org.elasticsearch.index.AbstractIndexComponent
      extended by org.elasticsearch.index.analysis.AbstractTokenFilterFactory
          extended by org.elasticsearch.index.analysis.IcuNormalizerTokenFilterFactory
All Implemented Interfaces:
org.elasticsearch.index.analysis.TokenFilterFactory, org.elasticsearch.index.IndexComponent

public class IcuNormalizerTokenFilterFactory
extends org.elasticsearch.index.analysis.AbstractTokenFilterFactory

Uses the ICUNormalizer2Filter to normalize tokens.

The name can be used to provide the type of normalization to perform.


Field Summary
 
Fields inherited from class org.elasticsearch.index.analysis.AbstractTokenFilterFactory
version
 
Fields inherited from class org.elasticsearch.index.AbstractIndexComponent
componentSettings, index, indexSettings, logger
 
Constructor Summary
IcuNormalizerTokenFilterFactory(org.elasticsearch.index.Index index, org.elasticsearch.common.settings.Settings indexSettings, java.lang.String name, org.elasticsearch.common.settings.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

IcuNormalizerTokenFilterFactory

@Inject
public IcuNormalizerTokenFilterFactory(org.elasticsearch.index.Index index,
                                              @IndexSettings
                                              org.elasticsearch.common.settings.Settings indexSettings,
                                              java.lang.String name,
                                              org.elasticsearch.common.settings.Settings settings)
Method Detail

create

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