Class TermRangeQueryNodeProcessor
- java.lang.Object
-
- org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorImpl
-
- org.apache.lucene.queryparser.flexible.standard.processors.TermRangeQueryNodeProcessor
-
- All Implemented Interfaces:
QueryNodeProcessor
public class TermRangeQueryNodeProcessor extends QueryNodeProcessorImpl
This processors processTermRangeQueryNodes. It reads the lower and upper bounds value from theTermRangeQueryNodeobject and try to parse their values using aDateFormat. If the values cannot be parsed to a date value, it will only create theTermRangeQueryNodeusing the non-parsed values.
If aStandardQueryConfigHandler.ConfigurationKeys.LOCALEis defined in theQueryConfigHandlerit will be used to parse the date, otherwiseLocale.getDefault()will be used.
If aStandardQueryConfigHandler.ConfigurationKeys.DATE_RESOLUTIONis defined and theDateTools.Resolutionis notnullit will also be used to parse the date value.
-
-
Constructor Summary
Constructors Constructor Description TermRangeQueryNodeProcessor()
-
Method Summary
-
Methods inherited from class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorImpl
getQueryConfigHandler, process, setQueryConfigHandler
-
-