|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.queryParser.standard.config.StandardQueryConfigHandler.ConfigurationKeys
public static final class StandardQueryConfigHandler.ConfigurationKeys
Field Summary | |
---|---|
static ConfigurationKey<Boolean> |
ALLOW_LEADING_WILDCARD
Key used to set whether leading wildcards are supported |
static ConfigurationKey<Analyzer> |
ANALYZER
Key used to set the Analyzer used for terms found in the query |
static ConfigurationKey<Float> |
BOOST
Key used to set the boost value in FieldConfig objects. |
static ConfigurationKey<DateTools.Resolution> |
DATE_RESOLUTION
Key used to set default DateTools.Resolution . |
static ConfigurationKey<StandardQueryConfigHandler.Operator> |
DEFAULT_OPERATOR
Key used to set the default boolean operator |
static ConfigurationKey<Boolean> |
ENABLE_POSITION_INCREMENTS
Key used to set whether position increments is enabled |
static ConfigurationKey<Map<String,Float>> |
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>> |
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> |
FUZZY_CONFIG
Key used to set the FuzzyConfig used to create fuzzy queries. |
static ConfigurationKey<Locale> |
LOCALE
Key used to set the Locale used when parsing the query |
static ConfigurationKey<Boolean> |
LOWERCASE_EXPANDED_TERMS
Key used to set whether expanded terms should be expanded |
static ConfigurationKey<CharSequence[]> |
MULTI_FIELDS
Key used to set the fields a query should be expanded to when the field is null |
static ConfigurationKey<MultiTermQuery.RewriteMethod> |
MULTI_TERM_REWRITE_METHOD
Key used to set the MultiTermQuery.RewriteMethod used when creating queries |
static ConfigurationKey<NumericConfig> |
NUMERIC_CONFIG
Key used to set a field to its NumericConfig . |
static ConfigurationKey<Map<String,NumericConfig>> |
NUMERIC_CONFIG_MAP
Key used to set the NumericConfig in FieldConfig for
numeric fields. |
static ConfigurationKey<Integer> |
PHRASE_SLOP
Key used to set the default phrase slop |
static ConfigurationKey<Collator> |
RANGE_COLLATOR
Key used to set the Collator used when creating TermRangeQuery s. |
Constructor Summary | |
---|---|
StandardQueryConfigHandler.ConfigurationKeys()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final ConfigurationKey<Boolean> ENABLE_POSITION_INCREMENTS
StandardQueryParser.setEnablePositionIncrements(boolean)
,
StandardQueryParser.getEnablePositionIncrements()
public static final ConfigurationKey<Boolean> LOWERCASE_EXPANDED_TERMS
StandardQueryParser.setLowercaseExpandedTerms(boolean)
,
StandardQueryParser.getLowercaseExpandedTerms()
public static final ConfigurationKey<Boolean> ALLOW_LEADING_WILDCARD
StandardQueryParser.setAllowLeadingWildcard(boolean)
,
StandardQueryParser.getAllowLeadingWildcard()
public static final ConfigurationKey<Analyzer> ANALYZER
Analyzer
used for terms found in the query
StandardQueryParser.setAnalyzer(Analyzer)
,
StandardQueryParser.getAnalyzer()
public static final ConfigurationKey<StandardQueryConfigHandler.Operator> DEFAULT_OPERATOR
StandardQueryParser.setDefaultOperator(org.apache.lucene.queryParser.standard.config.StandardQueryConfigHandler.Operator)
,
StandardQueryParser.getDefaultOperator()
public static final ConfigurationKey<Integer> PHRASE_SLOP
StandardQueryParser.setPhraseSlop(int)
,
StandardQueryParser.getPhraseSlop()
public static final ConfigurationKey<Locale> LOCALE
Locale
used when parsing the query
StandardQueryParser.setLocale(Locale)
,
StandardQueryParser.getLocale()
public static final ConfigurationKey<MultiTermQuery.RewriteMethod> MULTI_TERM_REWRITE_METHOD
MultiTermQuery.RewriteMethod
used when creating queries
StandardQueryParser.setMultiTermRewriteMethod(org.apache.lucene.search.MultiTermQuery.RewriteMethod)
,
StandardQueryParser.getMultiTermRewriteMethod()
public static final ConfigurationKey<CharSequence[]> MULTI_FIELDS
null
StandardQueryParser.setMultiFields(CharSequence[])
,
StandardQueryParser.getMultiFields(CharSequence[])
public static final ConfigurationKey<Map<String,Float>> FIELD_BOOST_MAP
StandardQueryParser.setFieldsBoost(Map)
,
StandardQueryParser.getFieldsBoost()
public static final ConfigurationKey<Map<CharSequence,DateTools.Resolution>> FIELD_DATE_RESOLUTION_MAP
DateTools.Resolution
map that is used to
normalize each date field value.
StandardQueryParser.setDateResolutionMap(Map)
,
StandardQueryParser.getDateResolutionMap()
public static final ConfigurationKey<FuzzyConfig> FUZZY_CONFIG
FuzzyConfig
used to create fuzzy queries.
StandardQueryParser.setFuzzyMinSim(float)
,
StandardQueryParser.setFuzzyPrefixLength(int)
,
StandardQueryParser.getFuzzyMinSim()
,
StandardQueryParser.getFuzzyPrefixLength()
public static final ConfigurationKey<DateTools.Resolution> DATE_RESOLUTION
DateTools.Resolution
.
StandardQueryParser.setDateResolution(org.apache.lucene.document.DateTools.Resolution)
,
StandardQueryParser.getDateResolution()
public static final ConfigurationKey<Float> BOOST
FieldConfig
objects.
StandardQueryParser.setFieldsBoost(Map)
,
StandardQueryParser.getFieldsBoost()
public static final ConfigurationKey<NumericConfig> NUMERIC_CONFIG
NumericConfig
.
StandardQueryParser.setNumericConfigMap(Map)
,
StandardQueryParser.getNumericConfigMap()
public static final ConfigurationKey<Map<String,NumericConfig>> NUMERIC_CONFIG_MAP
NumericConfig
in FieldConfig
for
numeric fields.
StandardQueryParser.setNumericConfigMap(Map)
,
StandardQueryParser.getNumericConfigMap()
public static final ConfigurationKey<Collator> RANGE_COLLATOR
Collator
used when creating TermRangeQuery
s.
StandardQueryParser.setRangeCollator(Collator)
,
StandardQueryParser.getRangeCollator()
Constructor Detail |
---|
public StandardQueryConfigHandler.ConfigurationKeys()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |