Uses of Class
org.apache.lucene.analysis.custom.CustomAnalyzer.ConditionBuilder
-
Packages that use CustomAnalyzer.ConditionBuilder Package Description org.apache.lucene.analysis.custom A general-purpose Analyzer that can be created with a builder-style API. -
-
Uses of CustomAnalyzer.ConditionBuilder in org.apache.lucene.analysis.custom
Methods in org.apache.lucene.analysis.custom that return CustomAnalyzer.ConditionBuilder Modifier and Type Method Description CustomAnalyzer.ConditionBuilderCustomAnalyzer.ConditionBuilder. addTokenFilter(Class<? extends TokenFilterFactory> factory, String... params)Adds the given token filter.CustomAnalyzer.ConditionBuilderCustomAnalyzer.ConditionBuilder. addTokenFilter(Class<? extends TokenFilterFactory> factory, Map<String,String> params)Adds the given token filter.CustomAnalyzer.ConditionBuilderCustomAnalyzer.ConditionBuilder. addTokenFilter(String name, String... params)Adds the given token filter.CustomAnalyzer.ConditionBuilderCustomAnalyzer.ConditionBuilder. addTokenFilter(String name, Map<String,String> params)Adds the given token filter.CustomAnalyzer.ConditionBuilderCustomAnalyzer.Builder. when(Class<? extends ConditionalTokenFilterFactory> factory, String... params)Add aConditionalTokenFilterFactoryto the analysis chain TokenFilters added by subsequent calls toaddTokenFilter(String, String...)and related functions will only be used if the current token matches the condition.CustomAnalyzer.ConditionBuilderCustomAnalyzer.Builder. when(Class<? extends ConditionalTokenFilterFactory> factory, Map<String,String> params)Add aConditionalTokenFilterFactoryto the analysis chain TokenFilters added by subsequent calls toaddTokenFilter(String, String...)and related functions will only be used if the current token matches the condition.CustomAnalyzer.ConditionBuilderCustomAnalyzer.Builder. when(String name, String... params)Add aConditionalTokenFilterFactoryto the analysis chain TokenFilters added by subsequent calls toaddTokenFilter(String, String...)and related functions will only be used if the current token matches the condition.CustomAnalyzer.ConditionBuilderCustomAnalyzer.Builder. when(String name, Map<String,String> params)Add aConditionalTokenFilterFactoryto the analysis chain TokenFilters added by subsequent calls toaddTokenFilter(String, String...)and related functions will only be used if the current token matches the condition.CustomAnalyzer.ConditionBuilderCustomAnalyzer.Builder. when(ConditionalTokenFilterFactory factory)Add aConditionalTokenFilterFactoryto the analysis chain TokenFilters added by subsequent calls toaddTokenFilter(String, String...)and related functions will only be used if the current token matches the condition.CustomAnalyzer.ConditionBuilderCustomAnalyzer.Builder. whenTerm(Predicate<CharSequence> predicate)Apply subsequent token filters if the current token's term matches a predicate This is the equivalent of:
-