Class PointQueryNodeProcessor

java.lang.Object
org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorImpl
org.apache.lucene.queryparser.flexible.standard.processors.PointQueryNodeProcessor
All Implemented Interfaces:
QueryNodeProcessor

public class PointQueryNodeProcessor extends QueryNodeProcessorImpl
This processor is used to convert FieldQueryNodes to PointRangeQueryNodes. It looks for StandardQueryConfigHandler.ConfigurationKeys.POINTS_CONFIG set in the FieldConfig of every FieldQueryNode found. If StandardQueryConfigHandler.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: