@Deprecated public interface DateResolutionAttribute extends org.apache.lucene.util.Attribute
ParametricRangeQueryNodeProcessor
processor
and must be defined in the QueryConfigHandler
. This attribute tells
the processor which DateTools.Resolution
to use when parsing the date. Modifier and Type | Method and Description |
---|---|
org.apache.lucene.document.DateTools.Resolution |
getDateResolution()
Deprecated.
|
void |
setDateResolution(org.apache.lucene.document.DateTools.Resolution dateResolution)
Deprecated.
Sets the default date resolution used by
RangeQueryNode s for
fields for which no specific date resolutions has been set. |
void setDateResolution(org.apache.lucene.document.DateTools.Resolution dateResolution)
RangeQueryNode
s for
fields for which no specific date resolutions has been set. Field
specific resolutions can be set withdateResolution
- the default date resolution to setorg.apache.lucene.document.DateTools.Resolution getDateResolution()