Package | Description |
---|---|
org.apache.lucene.analysis |
Text analysis.
|
Modifier and Type | Field and Description |
---|---|
static Analyzer.ReuseStrategy |
Analyzer.GLOBAL_REUSE_STRATEGY
A predefined
Analyzer.ReuseStrategy that reuses the same components for
every field. |
static Analyzer.ReuseStrategy |
Analyzer.PER_FIELD_REUSE_STRATEGY
A predefined
Analyzer.ReuseStrategy that reuses components per-field by
maintaining a Map of TokenStreamComponent per field name. |
Modifier and Type | Method and Description |
---|---|
Analyzer.ReuseStrategy |
Analyzer.getReuseStrategy()
Returns the used
Analyzer.ReuseStrategy . |
Constructor and Description |
---|
Analyzer(Analyzer.ReuseStrategy reuseStrategy)
Expert: create a new Analyzer with a custom
Analyzer.ReuseStrategy . |
AnalyzerWrapper(Analyzer.ReuseStrategy reuseStrategy)
Creates a new AnalyzerWrapper with the given reuse strategy.
|
DelegatingAnalyzerWrapper(Analyzer.ReuseStrategy fallbackStrategy)
Constructor.
|
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.