TermRangeQueryNodeProcessor

This processors process TermRangeQueryNodes. It reads the lower and upper bounds value from the TermRangeQueryNode object and try to parse their values using a DateFormat. If the values cannot be parsed to a date value, it will only create the TermRangeQueryNode using the non-parsed values.

If a ConfigurationKeys.LOCALE is defined in the QueryConfigHandler it will be used to parse the date, otherwise Locale.getDefault will be used.

If a ConfigurationKeys.DATE_RESOLUTION is defined and the DateTools.Resolution is not \`null\` it will also be used to parse the date value.

See also

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Sets and returns the QueryConfigHandler associated to the query tree.

Functions

Link copied to clipboard
open override fun process(queryTree: QueryNode): QueryNode

Processes a query node tree. It may return the same or another query tree. I should never return null.