PointQueryNodeProcessor

This processor is used to convert FieldQueryNodes to PointRangeQueryNodes. It looks for ConfigurationKeys.POINTS_CONFIG set in the FieldConfig of every FieldQueryNode found. If ConfigurationKeys.POINTS_CONFIG is found, it considers that FieldQueryNode to be a numeric query and convert it to PointRangeQueryNode with upper and lower inclusive and lower and upper equals to the value represented by the FieldQueryNode converted to Number. It means that field:1 is converted to field:1 TO 1.

Note that FieldQueryNodes children of a RangeQueryNode are ignored.

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.