Constructors

Link copied to clipboard
constructor()
constructor(analyer: Analyzer)

Properties

Link copied to clipboard
open override var allowLeadingWildcard: Boolean

Set to true to allow leading wildcard characters.

Link copied to clipboard
open override var analyzer: Analyzer?
Link copied to clipboard

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

Link copied to clipboard

Returns the field to DateTools.Resolution map used to normalize each date field.

Link copied to clipboard

Gets implicit operator setting, which will be either Operator.AND or Operator.OR.

Link copied to clipboard

Set to true to enable position increments in result query.

Link copied to clipboard

Sets the boost used for each field.

Link copied to clipboard
open override var fuzzyMinSim: Float

Get the minimal similarity for fuzzy queries.

Link copied to clipboard
open override var fuzzyPrefixLength: Int

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

Link copied to clipboard
open override var locale: Locale

Set locale used by date range parsing.

Link copied to clipboard

Set the fields a query should be expanded to when the field is null

Link copied to clipboard
Link copied to clipboard
open override 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
Link copied to clipboard

Returns the query builder used to build a object from the query node tree. The object produced by this builder is returned by parse.

Link copied to clipboard

Returns the query configuration handler, which is used during the query node tree processing. It can be null.

Link copied to clipboard

Returns the processor object used to process the query node tree, it returns null if no processor is used.

Link copied to clipboard

Returns the text parser used to build a query node tree from a query string. The default text parser instance returned by this method is a SyntaxParser.

Link copied to clipboard
open override var timeZone: TimeZone

Functions

Link copied to clipboard
open override fun parse(query: String, defaultField: String?): Query

Overrides QueryParserHelper.parse so it casts the return object to Query. For more reference about this method, check QueryParserHelper.parse.

Link copied to clipboard
open override fun toString(): String