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 A simple query parser implemented with JavaCC.org.apache.lucene.queryParser.standard Contains the implementation of the Lucene query parser using the flexible query parser frameworksorg.apache.lucene.queryParser.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(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
Methods in org.apache.lucene.queryParser that return DateTools.Resolution Modifier and Type Method Description DateTools.ResolutionQueryParser. getDateResolution(String fieldName)Returns the date resolution that is used by RangeQueries for the given field.Methods in org.apache.lucene.queryParser with parameters of type DateTools.Resolution Modifier and Type Method Description voidQueryParserTestBase. assertDateRangeQueryEquals(QueryParser qp, String field, String startDate, String endDate, Date endDateInclusive, DateTools.Resolution resolution)voidQueryParser. setDateResolution(String fieldName, DateTools.Resolution dateResolution)Sets the date resolution used by RangeQueries for a specific field.voidQueryParser. 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.standard
Methods in org.apache.lucene.queryParser.standard that return DateTools.Resolution Modifier and Type Method Description DateTools.ResolutionQueryParserWrapper. getDateResolution(String fieldName)Deprecated.DateTools.ResolutionStandardQueryParser. getDateResolution()Returns the defaultDateTools.Resolutionused for certain field when noDateTools.Resolutionis defined for this field.Methods in org.apache.lucene.queryParser.standard that return types with arguments of type DateTools.Resolution Modifier and Type Method Description Map<CharSequence,DateTools.Resolution>StandardQueryParser. getDateResolutionMap()Returns the field toDateTools.Resolutionmap used to normalize each date field.Methods in org.apache.lucene.queryParser.standard with parameters of type DateTools.Resolution Modifier and Type Method Description voidQueryParserWrapper. setDateResolution(String fieldName, DateTools.Resolution dateResolution)Deprecated.voidQueryParserWrapper. setDateResolution(DateTools.Resolution dateResolution)Deprecated.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.standard with type arguments of type DateTools.Resolution Modifier and Type Method Description voidStandardQueryParser. setDateResolution(Map<CharSequence,DateTools.Resolution> dateRes)Deprecated.this method was renamed toStandardQueryParser.setDateResolutionMap(Map)voidStandardQueryParser. setDateResolutionMap(Map<CharSequence,DateTools.Resolution> dateRes)Sets theDateTools.Resolutionused for each field -
Uses of DateTools.Resolution in org.apache.lucene.queryParser.standard.config
Fields in org.apache.lucene.queryParser.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<Map<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.Methods in org.apache.lucene.queryParser.standard.config that return DateTools.Resolution Modifier and Type Method Description DateTools.ResolutionDateResolutionAttribute. getDateResolution()Deprecated.DateTools.ResolutionDateResolutionAttributeImpl. getDateResolution()Deprecated.Methods in org.apache.lucene.queryParser.standard.config that return types with arguments of type DateTools.Resolution Modifier and Type Method Description Map<CharSequence,DateTools.Resolution>FieldDateResolutionMapAttribute. getFieldDateResolutionMap()Deprecated.Map<CharSequence,DateTools.Resolution>FieldDateResolutionMapAttributeImpl. getFieldDateResolutionMap()Deprecated.Methods in org.apache.lucene.queryParser.standard.config with parameters of type DateTools.Resolution Modifier and Type Method Description voidDateResolutionAttribute. setDateResolution(DateTools.Resolution dateResolution)Deprecated.Sets the default date resolution used byRangeQueryNodes for fields for which no specific date resolutions has been set.voidDateResolutionAttributeImpl. setDateResolution(DateTools.Resolution dateResolution)Deprecated.Method parameters in org.apache.lucene.queryParser.standard.config with type arguments of type DateTools.Resolution Modifier and Type Method Description voidFieldDateResolutionMapAttribute. setFieldDateResolutionMap(Map<CharSequence,DateTools.Resolution> dateRes)Deprecated.voidFieldDateResolutionMapAttributeImpl. setFieldDateResolutionMap(Map<CharSequence,DateTools.Resolution> dateRes)Deprecated.
-