Uses of Class
org.apache.lucene.document.DateTools.Resolution
-
Packages that use DateTools.Resolution Package Description org.apache.lucene.document The logical representation of aDocumentfor indexing and searching.org.apache.lucene.queryparser.classic A simple query parser implemented with JavaCC.org.apache.lucene.queryparser.flexible.standard Implementation of the Lucene classic query parser using the flexible query parser frameworksorg.apache.lucene.queryparser.flexible.standard.config Standard Lucene Query Configuration. -
-
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(java.lang.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 java.lang.StringDateTools. dateToString(java.util.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 java.util.DateDateTools. round(java.util.Date date, DateTools.Resolution resolution)Limit a date's resolution.static java.lang.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
Fields in org.apache.lucene.queryparser.classic declared as DateTools.Resolution Modifier and Type Field Description (package private) DateTools.ResolutionQueryParserBase. dateResolutionFields in org.apache.lucene.queryparser.classic with type parameters of type DateTools.Resolution Modifier and Type Field Description (package private) java.util.Map<java.lang.String,DateTools.Resolution>QueryParserBase. fieldToDateResolutionMethods in org.apache.lucene.queryparser.classic that return DateTools.Resolution Modifier and Type Method Description DateTools.ResolutionQueryParserBase. getDateResolution(java.lang.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(java.lang.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 that return DateTools.Resolution Modifier and Type Method Description DateTools.ResolutionStandardQueryParser. getDateResolution()Returns the defaultDateTools.Resolutionused for certain field when noDateTools.Resolutionis defined for this field.Methods in org.apache.lucene.queryparser.flexible.standard that return types with arguments of type DateTools.Resolution Modifier and Type Method Description java.util.Map<java.lang.CharSequence,DateTools.Resolution>StandardQueryParser. getDateResolutionMap()Returns the field toDateTools.Resolutionmap used to normalize each date field.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.voidStandardQueryParser. setDateResolution(DateTools.Resolution dateResolution)Sets the defaultDateTools.Resolutionused for certain field when noDateTools.Resolutionis defined for this field.Method parameters in org.apache.lucene.queryparser.flexible.standard with type arguments of type DateTools.Resolution Modifier and Type Method Description voidStandardQueryParser. setDateResolutionMap(java.util.Map<java.lang.CharSequence,DateTools.Resolution> dateRes)Sets theDateTools.Resolutionused for each field -
Uses of DateTools.Resolution in org.apache.lucene.queryparser.flexible.standard.config
Fields in org.apache.lucene.queryparser.flexible.standard.config with type parameters of type DateTools.Resolution Modifier and Type Field Description static ConfigurationKey<DateTools.Resolution>StandardQueryConfigHandler.ConfigurationKeys. DATE_RESOLUTIONKey used to set defaultDateTools.Resolution.static ConfigurationKey<java.util.Map<java.lang.CharSequence,DateTools.Resolution>>StandardQueryConfigHandler.ConfigurationKeys. FIELD_DATE_RESOLUTION_MAPKey used to set a field toDateTools.Resolutionmap that is used to normalize each date field value.
-