Home » lucene-3.0.1-src » org.apache.lucene.queryParser.standard.config » [javadoc | source]
org.apache.lucene.queryParser.standard.config
public interface: DateResolutionAttribute [javadoc | source]

All Implemented Interfaces:
    Attribute

All Known Implementing Classes:
    DateResolutionAttributeImpl

This attribute is used by ParametricRangeQueryNodeProcessor processor and must be defined in the QueryConfigHandler . This attribute tells the processor which Resolution to use when parsing the date.
Method from org.apache.lucene.queryParser.standard.config.DateResolutionAttribute Summary:
getDateResolution,   setDateResolution
Method from org.apache.lucene.queryParser.standard.config.DateResolutionAttribute Detail:
 public Resolution getDateResolution()
 public  void setDateResolution(Resolution dateResolution)
    Sets the default date resolution used by RangeQueryNode s for fields for which no specific date resolutions has been set. Field specific resolutions can be set with