Uses of Class
org.apache.lucene.document.DateTools.Resolution
-
Packages that use DateTools.Resolution Package Description org.apache.lucene.document org.apache.lucene.queryparser.classic org.apache.lucene.queryparser.flexible.standard -
-
Uses of DateTools.Resolution in org.apache.lucene.document
Methods in org.apache.lucene.document that return DateTools.Resolution Modifier and Type Method Description static DateTools.ResolutionDateTools.Resolution. valueOf(String name)Returns the enum constant of this type with the specified name.static DateTools.Resolution[]DateTools.Resolution. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.lucene.document with parameters of type DateTools.Resolution Modifier and Type Method Description static StringDateTools. dateToString(Date date, DateTools.Resolution resolution)Converts a Date to a string suitable for indexing.static longDateTools. round(long time, DateTools.Resolution resolution)Limit a date's resolution.static DateDateTools. round(Date date, DateTools.Resolution resolution)Limit a date's resolution.static StringDateTools. timeToString(long time, DateTools.Resolution resolution)Converts a millisecond time to a string suitable for indexing. -
Uses of DateTools.Resolution in org.apache.lucene.queryparser.classic
Methods in org.apache.lucene.queryparser.classic that return DateTools.Resolution Modifier and Type Method Description DateTools.ResolutionQueryParserBase. getDateResolution(String fieldName)Returns the date resolution that is used by RangeQueries for the given field.Methods in org.apache.lucene.queryparser.classic with parameters of type DateTools.Resolution Modifier and Type Method Description voidQueryParserBase. setDateResolution(String fieldName, DateTools.Resolution dateResolution)Sets the date resolution used by RangeQueries for a specific field.voidQueryParserBase. setDateResolution(DateTools.Resolution dateResolution)Sets the default date resolution used by RangeQueries for fields for which no specific date resolutions has been set. -
Uses of DateTools.Resolution in org.apache.lucene.queryparser.flexible.standard
Methods in org.apache.lucene.queryparser.flexible.standard with parameters of type DateTools.Resolution Modifier and Type Method Description voidCommonQueryParserConfiguration. setDateResolution(DateTools.Resolution dateResolution)Sets the defaultDateTools.Resolutionused for certain field when noDateTools.Resolutionis defined for this field.
-