Class StandardQueryConfigHandler.ConfigurationKeys
- java.lang.Object
-
- org.apache.lucene.queryparser.flexible.standard.config.StandardQueryConfigHandler.ConfigurationKeys
-
- Enclosing class:
- StandardQueryConfigHandler
public static final class StandardQueryConfigHandler.ConfigurationKeys extends java.lang.Object
Class holding keys for StandardQueryNodeProcessorPipeline options.
-
-
Field Summary
Fields Modifier and Type Field Description static ConfigurationKey<java.lang.Boolean>
ALLOW_LEADING_WILDCARD
Key used to set whether leading wildcards are supportedstatic ConfigurationKey<Analyzer>
ANALYZER
Key used to set theAnalyzer
used for terms found in the querystatic ConfigurationKey<java.lang.Float>
BOOST
Key used to set the boost value inFieldConfig
objects.static ConfigurationKey<DateTools.Resolution>
DATE_RESOLUTION
Key used to set defaultDateTools.Resolution
.static ConfigurationKey<StandardQueryConfigHandler.Operator>
DEFAULT_OPERATOR
Key used to set the default boolean operatorstatic ConfigurationKey<java.lang.Boolean>
ENABLE_POSITION_INCREMENTS
Key used to set whether position increments is enabledstatic ConfigurationKey<java.util.Map<java.lang.String,java.lang.Float>>
FIELD_BOOST_MAP
Key used to set a field to boost map that is used to set the boost for each fieldstatic ConfigurationKey<java.util.Map<java.lang.CharSequence,DateTools.Resolution>>
FIELD_DATE_RESOLUTION_MAP
Key used to set a field toDateTools.Resolution
map that is used to normalize each date field value.static ConfigurationKey<FuzzyConfig>
FUZZY_CONFIG
Key used to set theFuzzyConfig
used to create fuzzy queries.static ConfigurationKey<java.util.Locale>
LOCALE
Key used to set theLocale
used when parsing the querystatic ConfigurationKey<java.lang.Boolean>
LOWERCASE_EXPANDED_TERMS
Key used to set whether expanded terms should be lower-casedstatic ConfigurationKey<java.lang.CharSequence[]>
MULTI_FIELDS
Key used to set the fields a query should be expanded to when the field isnull
static ConfigurationKey<MultiTermQuery.RewriteMethod>
MULTI_TERM_REWRITE_METHOD
Key used to set theMultiTermQuery.RewriteMethod
used when creating queriesstatic ConfigurationKey<NumericConfig>
NUMERIC_CONFIG
Key used to set a field to itsNumericConfig
.static ConfigurationKey<java.util.Map<java.lang.String,NumericConfig>>
NUMERIC_CONFIG_MAP
Key used to set theNumericConfig
inFieldConfig
for numeric fields.static ConfigurationKey<java.lang.Integer>
PHRASE_SLOP
Key used to set the default phrase slopstatic ConfigurationKey<java.util.TimeZone>
TIMEZONE
-
Constructor Summary
Constructors Constructor Description ConfigurationKeys()
-
-
-
Field Detail
-
ENABLE_POSITION_INCREMENTS
public static final ConfigurationKey<java.lang.Boolean> ENABLE_POSITION_INCREMENTS
Key used to set whether position increments is enabled
-
LOWERCASE_EXPANDED_TERMS
public static final ConfigurationKey<java.lang.Boolean> LOWERCASE_EXPANDED_TERMS
Key used to set whether expanded terms should be lower-cased
-
ALLOW_LEADING_WILDCARD
public static final ConfigurationKey<java.lang.Boolean> ALLOW_LEADING_WILDCARD
Key used to set whether leading wildcards are supported
-
ANALYZER
public static final ConfigurationKey<Analyzer> ANALYZER
Key used to set theAnalyzer
used for terms found in the query
-
DEFAULT_OPERATOR
public static final ConfigurationKey<StandardQueryConfigHandler.Operator> DEFAULT_OPERATOR
Key used to set the default boolean operator
-
PHRASE_SLOP
public static final ConfigurationKey<java.lang.Integer> PHRASE_SLOP
Key used to set the default phrase slop
-
LOCALE
public static final ConfigurationKey<java.util.Locale> LOCALE
Key used to set theLocale
used when parsing the query
-
TIMEZONE
public static final ConfigurationKey<java.util.TimeZone> TIMEZONE
-
MULTI_TERM_REWRITE_METHOD
public static final ConfigurationKey<MultiTermQuery.RewriteMethod> MULTI_TERM_REWRITE_METHOD
Key used to set theMultiTermQuery.RewriteMethod
used when creating queries
-
MULTI_FIELDS
public static final ConfigurationKey<java.lang.CharSequence[]> MULTI_FIELDS
Key used to set the fields a query should be expanded to when the field isnull
-
FIELD_BOOST_MAP
public static final ConfigurationKey<java.util.Map<java.lang.String,java.lang.Float>> FIELD_BOOST_MAP
Key used to set a field to boost map that is used to set the boost for each field
-
FIELD_DATE_RESOLUTION_MAP
public static final ConfigurationKey<java.util.Map<java.lang.CharSequence,DateTools.Resolution>> FIELD_DATE_RESOLUTION_MAP
Key used to set a field toDateTools.Resolution
map that is used to normalize each date field value.
-
FUZZY_CONFIG
public static final ConfigurationKey<FuzzyConfig> FUZZY_CONFIG
Key used to set theFuzzyConfig
used to create fuzzy queries.
-
DATE_RESOLUTION
public static final ConfigurationKey<DateTools.Resolution> DATE_RESOLUTION
Key used to set defaultDateTools.Resolution
.
-
BOOST
public static final ConfigurationKey<java.lang.Float> BOOST
Key used to set the boost value inFieldConfig
objects.
-
NUMERIC_CONFIG
public static final ConfigurationKey<NumericConfig> NUMERIC_CONFIG
Key used to set a field to itsNumericConfig
.
-
NUMERIC_CONFIG_MAP
public static final ConfigurationKey<java.util.Map<java.lang.String,NumericConfig>> NUMERIC_CONFIG_MAP
Key used to set theNumericConfig
inFieldConfig
for numeric fields.
-
-