Interface DateResolutionAttribute
-
- All Superinterfaces:
org.apache.lucene.util.Attribute
- All Known Implementing Classes:
DateResolutionAttributeImpl
@Deprecated public interface DateResolutionAttribute extends org.apache.lucene.util.Attribute
Deprecated.This attribute is used byParametricRangeQueryNodeProcessor
processor and must be defined in theQueryConfigHandler
. This attribute tells the processor whichDateTools.Resolution
to use when parsing the date.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method 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 byRangeQueryNode
s for fields for which no specific date resolutions has been set.
-
-
-
Method Detail
-
setDateResolution
void setDateResolution(org.apache.lucene.document.DateTools.Resolution dateResolution)
Deprecated.Sets the default date resolution used byRangeQueryNode
s for fields for which no specific date resolutions has been set. Field specific resolutions can be set with- Parameters:
dateResolution
- the default date resolution to set
-
getDateResolution
org.apache.lucene.document.DateTools.Resolution getDateResolution()
Deprecated.
-
-