Package org.elasticsearch.index.analysis
Class LowercaseNormalizer
java.lang.Object
org.apache.lucene.analysis.Analyzer
org.elasticsearch.index.analysis.LowercaseNormalizer
- All Implemented Interfaces:
Closeable
,AutoCloseable
public final class LowercaseNormalizer
extends org.apache.lucene.analysis.Analyzer
Normalizer used to lowercase values
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.analysis.Analyzer
org.apache.lucene.analysis.Analyzer.ReuseStrategy, org.apache.lucene.analysis.Analyzer.TokenStreamComponents
-
Field Summary
Fields inherited from class org.apache.lucene.analysis.Analyzer
GLOBAL_REUSE_STRATEGY, PER_FIELD_REUSE_STRATEGY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.lucene.analysis.Analyzer.TokenStreamComponents
protected org.apache.lucene.analysis.TokenStream
Methods inherited from class org.apache.lucene.analysis.Analyzer
attributeFactory, close, getOffsetGap, getPositionIncrementGap, getReuseStrategy, getVersion, initReader, initReaderForNormalization, normalize, setVersion, tokenStream, tokenStream
-
Constructor Details
-
LowercaseNormalizer
public LowercaseNormalizer()
-
-
Method Details
-
createComponents
- Specified by:
createComponents
in classorg.apache.lucene.analysis.Analyzer
-
normalize
protected org.apache.lucene.analysis.TokenStream normalize(String fieldName, org.apache.lucene.analysis.TokenStream in)- Overrides:
normalize
in classorg.apache.lucene.analysis.Analyzer
-