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
This processors process
If a
If a
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
StandardQueryConfigHandler.ConfigurationKeys.LOCALE is defined in the
QueryConfigHandler it will be used to parse the date, otherwise
Locale.getDefault() will be used. If a
StandardQueryConfigHandler.ConfigurationKeys.DATE_RESOLUTION is defined and the
DateTools.Resolution is not null it will also be used to parse the
date value. - See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.lucene.queryparser.flexible.core.processors.QueryNodeProcessorImpl
getQueryConfigHandler, process, setQueryConfigHandler
-
Constructor Details
-
TermRangeQueryNodeProcessor
public TermRangeQueryNodeProcessor()
-