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.ObjectClass holding keys for StandardQueryNodeProcessorPipeline options.
-
-
Field Summary
Fields Modifier and Type Field Description static ConfigurationKey<java.lang.Boolean>ALLOW_LEADING_WILDCARDKey used to set whether leading wildcards are supportedstatic ConfigurationKey<Analyzer>ANALYZERKey used to set theAnalyzerused for terms found in the querystatic ConfigurationKey<java.lang.Float>BOOSTKey used to set the boost value inFieldConfigobjects.static ConfigurationKey<DateTools.Resolution>DATE_RESOLUTIONKey used to set defaultDateTools.Resolution.static ConfigurationKey<StandardQueryConfigHandler.Operator>DEFAULT_OPERATORKey used to set the default boolean operatorstatic ConfigurationKey<java.lang.Boolean>ENABLE_POSITION_INCREMENTSKey used to set whether position increments is enabledstatic ConfigurationKey<java.util.Map<java.lang.String,java.lang.Float>>FIELD_BOOST_MAPKey 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_MAPKey used to set a field toDateTools.Resolutionmap that is used to normalize each date field value.static ConfigurationKey<FuzzyConfig>FUZZY_CONFIGKey used to set theFuzzyConfigused to create fuzzy queries.static ConfigurationKey<java.util.Locale>LOCALEKey used to set theLocaleused when parsing the querystatic ConfigurationKey<java.lang.CharSequence[]>MULTI_FIELDSKey used to set the fields a query should be expanded to when the field isnullstatic ConfigurationKey<MultiTermQuery.RewriteMethod>MULTI_TERM_REWRITE_METHODKey used to set theMultiTermQuery.RewriteMethodused when creating queriesstatic ConfigurationKey<java.lang.Integer>PHRASE_SLOPKey used to set the default phrase slopstatic ConfigurationKey<PointsConfig>POINTS_CONFIGKey used to set a field to itsPointsConfig.static ConfigurationKey<java.util.Map<java.lang.String,PointsConfig>>POINTS_CONFIG_MAPKey used to set thePointsConfiginFieldConfigfor point fields.static 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
-
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 theAnalyzerused 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 theLocaleused 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.RewriteMethodused 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.Resolutionmap that is used to normalize each date field value.
-
FUZZY_CONFIG
public static final ConfigurationKey<FuzzyConfig> FUZZY_CONFIG
Key used to set theFuzzyConfigused 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 inFieldConfigobjects.
-
POINTS_CONFIG
public static final ConfigurationKey<PointsConfig> POINTS_CONFIG
Key used to set a field to itsPointsConfig.
-
POINTS_CONFIG_MAP
public static final ConfigurationKey<java.util.Map<java.lang.String,PointsConfig>> POINTS_CONFIG_MAP
Key used to set thePointsConfiginFieldConfigfor point fields.
-
-