Class IcuNormalizerTokenFilterFactory

All Implemented Interfaces:
NormalizingTokenFilterFactory, TokenFilterFactory, IndexComponent

public class IcuNormalizerTokenFilterFactory extends AbstractTokenFilterFactory implements NormalizingTokenFilterFactory
Uses the ICUNormalizer2Filter to normalize tokens.

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

The unicodeSetFilter attribute can be used to provide the UniCodeSet for filtering.

  • Constructor Details

  • Method Details

    • create

      public org.apache.lucene.analysis.TokenStream create(org.apache.lucene.analysis.TokenStream tokenStream)
      Specified by:
      create in interface TokenFilterFactory