StandardQueryConfigHandler

This query configuration handler is used for almost every processor defined in the StandardQueryNodeProcessorPipeline processor pipeline. It holds configuration methods that reproduce the configuration methods that could be set on the old lucene 2.4 QueryParser class.

See also

StandardQueryNodeProcessorPipeline

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard

Class holding keys for StandardQueryNodeProcessorPipeline options.

Link copied to clipboard

Boolean Operator: AND or OR

Functions

Link copied to clipboard

Adds a listener. The added listeners are called in the order they are added.

Link copied to clipboard
fun <T> get(key: ConfigurationKey<T>): T?

Returns the value held by the given key.

Link copied to clipboard
open fun getFieldConfig(fieldName: String): FieldConfig?

Returns an implementation of FieldConfig for a specific field name. If the implemented QueryConfigHandler does not know a specific field name, it may return null, indicating there is no configuration for that field.

Link copied to clipboard

Returns true if there is a value set with the given key, otherwise false.

Link copied to clipboard
fun <T> set(key: ConfigurationKey<T>, value: T?)

Sets a key and its value.

Link copied to clipboard

Unsets the given key and its value.