Package | Description |
---|---|
org.apache.lucene.analysis.custom |
A general-purpose Analyzer that can be created with a builder-style API.
|
org.apache.lucene.analysis.miscellaneous |
Miscellaneous Tokenstreams.
|
Modifier and Type | Method and Description |
---|---|
CustomAnalyzer.ConditionBuilder |
CustomAnalyzer.Builder.when(ConditionalTokenFilterFactory factory)
Add a
ConditionalTokenFilterFactory to the analysis chain
TokenFilters added by subsequent calls to CustomAnalyzer.ConditionBuilder.addTokenFilter(String, String...)
and related functions will only be used if the current token matches the condition. |
Modifier and Type | Method and Description |
---|---|
CustomAnalyzer.ConditionBuilder |
CustomAnalyzer.Builder.when(Class<? extends ConditionalTokenFilterFactory> factory,
Map<String,String> params)
Add a
ConditionalTokenFilterFactory to the analysis chain
TokenFilters added by subsequent calls to CustomAnalyzer.ConditionBuilder.addTokenFilter(String, String...)
and related functions will only be used if the current token matches the condition. |
CustomAnalyzer.ConditionBuilder |
CustomAnalyzer.Builder.when(Class<? extends ConditionalTokenFilterFactory> factory,
String... params)
Add a
ConditionalTokenFilterFactory to the analysis chain
TokenFilters added by subsequent calls to CustomAnalyzer.ConditionBuilder.addTokenFilter(String, String...)
and related functions will only be used if the current token matches the condition. |
Modifier and Type | Class and Description |
---|---|
class |
ProtectedTermFilterFactory
Factory for a
ProtectedTermFilter |
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.