CommonQueryParserConfiguration

Configuration options common across queryparser implementations.

Inheritors

Properties

Link copied to clipboard

Set to true to allow leading wildcard characters.

Link copied to clipboard
abstract val analyzer: Analyzer
Link copied to clipboard

Sets the default Resolution used for certain field when no Resolution is defined for this field.

Link copied to clipboard

Set to true to enable position increments in result query.

Link copied to clipboard
abstract var fuzzyMinSim: Float

Set the minimum similarity for fuzzy queries. Default is defined on FuzzyQuery.defaultMaxEdits.

Link copied to clipboard
abstract var fuzzyPrefixLength: Int

Set the prefix length for fuzzy queries. Default is 0.

Link copied to clipboard
abstract var locale: Locale

Returns current locale, allowing access by subclasses.

Link copied to clipboard
abstract var phraseSlop: Int

Sets the default slop for phrases. If zero, then exact phrase matches are required. Default value is zero.

Link copied to clipboard
abstract var timeZone: TimeZone