public final class FieldNameAnalyzer
extends org.apache.lucene.analysis.DelegatingAnalyzerWrapper
org.apache.lucene.analysis.Analyzer.GlobalReuseStrategy, org.apache.lucene.analysis.Analyzer.PerFieldReuseStrategy, org.apache.lucene.analysis.Analyzer.ReuseStrategy, org.apache.lucene.analysis.Analyzer.TokenStreamComponents
Constructor and Description |
---|
FieldNameAnalyzer(org.apache.lucene.analysis.Analyzer defaultAnalyzer) |
FieldNameAnalyzer(Map<String,org.apache.lucene.analysis.Analyzer> analyzers,
org.apache.lucene.analysis.Analyzer defaultAnalyzer) |
Modifier and Type | Method and Description |
---|---|
Map<String,org.apache.lucene.analysis.Analyzer> |
analyzers() |
FieldNameAnalyzer |
copyAndAddAll(Collection<? extends Map.Entry<String,org.apache.lucene.analysis.Analyzer>> mappers)
Return a new instance that contains the union of this and of the provided analyzers.
|
org.apache.lucene.analysis.Analyzer |
defaultAnalyzer() |
protected org.apache.lucene.analysis.Analyzer |
getWrappedAnalyzer(String fieldName) |
wrapComponents, wrapReader
createComponents, getOffsetGap, getPositionIncrementGap, initReader
public FieldNameAnalyzer(org.apache.lucene.analysis.Analyzer defaultAnalyzer)
public org.apache.lucene.analysis.Analyzer defaultAnalyzer()
protected org.apache.lucene.analysis.Analyzer getWrappedAnalyzer(String fieldName)
getWrappedAnalyzer
in class org.apache.lucene.analysis.AnalyzerWrapper
public FieldNameAnalyzer copyAndAddAll(Collection<? extends Map.Entry<String,org.apache.lucene.analysis.Analyzer>> mappers)
Copyright © 2009–2015. All rights reserved.