Package | Description |
---|---|
org.apache.lucene.queryparser.flexible.core.config |
Base classes used to configure the query processing.
|
org.apache.lucene.queryparser.flexible.standard.config |
Standard Lucene Query Configuration.
|
Modifier and Type | Method and Description |
---|---|
static <T> ConfigurationKey<T> |
ConfigurationKey.newInstance()
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
AbstractQueryConfig.get(ConfigurationKey<T> key)
Returns the value held by the given key.
|
<T> boolean |
AbstractQueryConfig.has(ConfigurationKey<T> key)
Returns true if there is a value set with the given key, otherwise false.
|
<T> void |
AbstractQueryConfig.set(ConfigurationKey<T> key,
T value)
Sets a key and its value.
|
<T> boolean |
AbstractQueryConfig.unset(ConfigurationKey<T> key)
Unsets the given key and its value.
|
Modifier and Type | Field and Description |
---|---|
static ConfigurationKey<Boolean> |
StandardQueryConfigHandler.ConfigurationKeys.ALLOW_LEADING_WILDCARD
Key used to set whether leading wildcards are supported
|
static ConfigurationKey<Analyzer> |
StandardQueryConfigHandler.ConfigurationKeys.ANALYZER
Key used to set the
Analyzer used for terms found in the query |
static ConfigurationKey<Float> |
StandardQueryConfigHandler.ConfigurationKeys.BOOST
Key used to set the boost value in
FieldConfig objects. |
static ConfigurationKey<DateTools.Resolution> |
StandardQueryConfigHandler.ConfigurationKeys.DATE_RESOLUTION
Key used to set default
DateTools.Resolution . |
static ConfigurationKey<StandardQueryConfigHandler.Operator> |
StandardQueryConfigHandler.ConfigurationKeys.DEFAULT_OPERATOR
Key used to set the default boolean operator
|
static ConfigurationKey<Boolean> |
StandardQueryConfigHandler.ConfigurationKeys.ENABLE_POSITION_INCREMENTS
Key used to set whether position increments is enabled
|
static ConfigurationKey<Map<String,Float>> |
StandardQueryConfigHandler.ConfigurationKeys.FIELD_BOOST_MAP
Key used to set a field to boost map that is used to set the boost for each field
|
static ConfigurationKey<Map<CharSequence,DateTools.Resolution>> |
StandardQueryConfigHandler.ConfigurationKeys.FIELD_DATE_RESOLUTION_MAP
Key used to set a field to
DateTools.Resolution map that is used
to normalize each date field value. |
static ConfigurationKey<FuzzyConfig> |
StandardQueryConfigHandler.ConfigurationKeys.FUZZY_CONFIG
Key used to set the
FuzzyConfig used to create fuzzy queries. |
static ConfigurationKey<Locale> |
StandardQueryConfigHandler.ConfigurationKeys.LOCALE
Key used to set the
Locale used when parsing the query |
static ConfigurationKey<CharSequence[]> |
StandardQueryConfigHandler.ConfigurationKeys.MULTI_FIELDS
Key used to set the fields a query should be expanded to when the field
is
null |
static ConfigurationKey<MultiTermQuery.RewriteMethod> |
StandardQueryConfigHandler.ConfigurationKeys.MULTI_TERM_REWRITE_METHOD
Key used to set the
MultiTermQuery.RewriteMethod used when creating queries |
static ConfigurationKey<Integer> |
StandardQueryConfigHandler.ConfigurationKeys.PHRASE_SLOP
Key used to set the default phrase slop
|
static ConfigurationKey<PointsConfig> |
StandardQueryConfigHandler.ConfigurationKeys.POINTS_CONFIG
Key used to set a field to its
PointsConfig . |
static ConfigurationKey<Map<String,PointsConfig>> |
StandardQueryConfigHandler.ConfigurationKeys.POINTS_CONFIG_MAP
Key used to set the
PointsConfig in FieldConfig for point fields. |
static ConfigurationKey<TimeZone> |
StandardQueryConfigHandler.ConfigurationKeys.TIMEZONE |
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.