Package | Description |
---|---|
org.apache.lucene.analysis |
API and code to convert text into indexable/searchable tokens.
|
Modifier and Type | Class and Description |
---|---|
static class |
Analyzer.GlobalReuseStrategy
Deprecated.
This implementation class will be hidden in Lucene 5.0.
Use
Analyzer.GLOBAL_REUSE_STRATEGY instead! |
static class |
Analyzer.PerFieldReuseStrategy
Deprecated.
This implementation class will be hidden in Lucene 5.0.
Use
Analyzer.PER_FIELD_REUSE_STRATEGY instead! |
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-2014 Apache Software Foundation. All Rights Reserved.