org.apache.lucene.queryParser.standard.config
Class StandardQueryConfigHandler.ConfigurationKeys

java.lang.Object
  extended by org.apache.lucene.queryParser.standard.config.StandardQueryConfigHandler.ConfigurationKeys
Enclosing class:
StandardQueryConfigHandler

public static final class StandardQueryConfigHandler.ConfigurationKeys
extends Object


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 TermRangeQuerys.
 
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

ENABLE_POSITION_INCREMENTS

public static final ConfigurationKey<Boolean> ENABLE_POSITION_INCREMENTS
Key used to set whether position increments is enabled

See Also:
StandardQueryParser.setEnablePositionIncrements(boolean), StandardQueryParser.getEnablePositionIncrements()

LOWERCASE_EXPANDED_TERMS

public static final ConfigurationKey<Boolean> LOWERCASE_EXPANDED_TERMS
Key used to set whether expanded terms should be expanded

See Also:
StandardQueryParser.setLowercaseExpandedTerms(boolean), StandardQueryParser.getLowercaseExpandedTerms()

ALLOW_LEADING_WILDCARD

public static final ConfigurationKey<Boolean> ALLOW_LEADING_WILDCARD
Key used to set whether leading wildcards are supported

See Also:
StandardQueryParser.setAllowLeadingWildcard(boolean), StandardQueryParser.getAllowLeadingWildcard()

ANALYZER

public static final ConfigurationKey<Analyzer> ANALYZER
Key used to set the Analyzer used for terms found in the query

See Also:
StandardQueryParser.setAnalyzer(Analyzer), StandardQueryParser.getAnalyzer()

DEFAULT_OPERATOR

public static final ConfigurationKey<StandardQueryConfigHandler.Operator> DEFAULT_OPERATOR
Key used to set the default boolean operator

See Also:
StandardQueryParser.setDefaultOperator(org.apache.lucene.queryParser.standard.config.StandardQueryConfigHandler.Operator), StandardQueryParser.getDefaultOperator()

PHRASE_SLOP

public static final ConfigurationKey<Integer> PHRASE_SLOP
Key used to set the default phrase slop

See Also:
StandardQueryParser.setPhraseSlop(int), StandardQueryParser.getPhraseSlop()

LOCALE

public static final ConfigurationKey<Locale> LOCALE
Key used to set the Locale used when parsing the query

See Also:
StandardQueryParser.setLocale(Locale), StandardQueryParser.getLocale()

MULTI_TERM_REWRITE_METHOD

public static final ConfigurationKey<MultiTermQuery.RewriteMethod> MULTI_TERM_REWRITE_METHOD
Key used to set the MultiTermQuery.RewriteMethod used when creating queries

See Also:
StandardQueryParser.setMultiTermRewriteMethod(org.apache.lucene.search.MultiTermQuery.RewriteMethod), StandardQueryParser.getMultiTermRewriteMethod()

MULTI_FIELDS

public static final ConfigurationKey<CharSequence[]> MULTI_FIELDS
Key used to set the fields a query should be expanded to when the field is null

See Also:
StandardQueryParser.setMultiFields(CharSequence[]), StandardQueryParser.getMultiFields(CharSequence[])

FIELD_BOOST_MAP

public static final 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

See Also:
StandardQueryParser.setFieldsBoost(Map), StandardQueryParser.getFieldsBoost()

FIELD_DATE_RESOLUTION_MAP

public static final 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.

See Also:
StandardQueryParser.setDateResolutionMap(Map), StandardQueryParser.getDateResolutionMap()

FUZZY_CONFIG

public static final ConfigurationKey<FuzzyConfig> FUZZY_CONFIG
Key used to set the FuzzyConfig used to create fuzzy queries.

See Also:
StandardQueryParser.setFuzzyMinSim(float), StandardQueryParser.setFuzzyPrefixLength(int), StandardQueryParser.getFuzzyMinSim(), StandardQueryParser.getFuzzyPrefixLength()

DATE_RESOLUTION

public static final ConfigurationKey<DateTools.Resolution> DATE_RESOLUTION
Key used to set default DateTools.Resolution.

See Also:
StandardQueryParser.setDateResolution(org.apache.lucene.document.DateTools.Resolution), StandardQueryParser.getDateResolution()

BOOST

public static final ConfigurationKey<Float> BOOST
Key used to set the boost value in FieldConfig objects.

See Also:
StandardQueryParser.setFieldsBoost(Map), StandardQueryParser.getFieldsBoost()

NUMERIC_CONFIG

public static final ConfigurationKey<NumericConfig> NUMERIC_CONFIG
Key used to set a field to its NumericConfig.

See Also:
StandardQueryParser.setNumericConfigMap(Map), StandardQueryParser.getNumericConfigMap()

NUMERIC_CONFIG_MAP

public static final ConfigurationKey<Map<String,NumericConfig>> NUMERIC_CONFIG_MAP
Key used to set the NumericConfig in FieldConfig for numeric fields.

See Also:
StandardQueryParser.setNumericConfigMap(Map), StandardQueryParser.getNumericConfigMap()

RANGE_COLLATOR

public static final ConfigurationKey<Collator> RANGE_COLLATOR
Key used to set the Collator used when creating TermRangeQuerys.

See Also:
StandardQueryParser.setRangeCollator(Collator), StandardQueryParser.getRangeCollator()
Constructor Detail

StandardQueryConfigHandler.ConfigurationKeys

public StandardQueryConfigHandler.ConfigurationKeys()