Package org.elasticsearch.index.analysis
Class FieldNameAnalyzer
- java.lang.Object
-
- org.apache.lucene.analysis.Analyzer
-
- org.apache.lucene.analysis.AnalyzerWrapper
-
- org.apache.lucene.analysis.DelegatingAnalyzerWrapper
-
- org.elasticsearch.index.analysis.FieldNameAnalyzer
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public final class FieldNameAnalyzer extends org.apache.lucene.analysis.DelegatingAnalyzerWrapper
-
-
Constructor Summary
Constructors Constructor Description FieldNameAnalyzer(java.util.Map<java.lang.String,org.apache.lucene.analysis.Analyzer> analyzers)
-
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,org.apache.lucene.analysis.Analyzer>
analyzers()
protected org.apache.lucene.analysis.Analyzer
getWrappedAnalyzer(java.lang.String fieldName)
-
Methods inherited from class org.apache.lucene.analysis.DelegatingAnalyzerWrapper
wrapComponents, wrapReader, wrapReaderForNormalization, wrapTokenStreamForNormalization
-
Methods inherited from class org.apache.lucene.analysis.AnalyzerWrapper
attributeFactory, createComponents, getOffsetGap, getPositionIncrementGap, initReader, initReaderForNormalization, normalize
-
-
-
-
Method Detail
-
analyzers
public java.util.Map<java.lang.String,org.apache.lucene.analysis.Analyzer> analyzers()
-
getWrappedAnalyzer
protected org.apache.lucene.analysis.Analyzer getWrappedAnalyzer(java.lang.String fieldName)
- Specified by:
getWrappedAnalyzer
in classorg.apache.lucene.analysis.AnalyzerWrapper
-
-