|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DateTools.Resolution | |
---|---|
org.apache.lucene.document | The logical representation of a Document for 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 frameworks |
org.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 | |
---|---|
static DateTools.Resolution |
DateTools.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're declared. |
Methods in org.apache.lucene.document with parameters of type DateTools.Resolution | |
---|---|
static String |
DateTools.dateToString(Date date,
DateTools.Resolution resolution)
Converts a Date to a string suitable for indexing. |
static Date |
DateTools.round(Date date,
DateTools.Resolution resolution)
Limit a date's resolution. |
static long |
DateTools.round(long time,
DateTools.Resolution resolution)
Limit a date's resolution. |
static String |
DateTools.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 | |
---|---|
DateTools.Resolution |
QueryParser.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 | |
---|---|
void |
QueryParserTestBase.assertDateRangeQueryEquals(QueryParser qp,
String field,
String startDate,
String endDate,
Date endDateInclusive,
DateTools.Resolution resolution)
|
void |
QueryParser.setDateResolution(DateTools.Resolution dateResolution)
Sets the default date resolution used by RangeQueries for fields for which no specific date resolutions has been set. |
void |
QueryParser.setDateResolution(String fieldName,
DateTools.Resolution dateResolution)
Sets the date resolution used by RangeQueries for a specific field. |
Uses of DateTools.Resolution in org.apache.lucene.queryParser.standard |
---|
Methods in org.apache.lucene.queryParser.standard that return DateTools.Resolution | |
---|---|
DateTools.Resolution |
StandardQueryParser.getDateResolution()
Returns the default DateTools.Resolution used for certain field when no
DateTools.Resolution is defined for this field. |
DateTools.Resolution |
QueryParserWrapper.getDateResolution(String fieldName)
Deprecated. |
Methods in org.apache.lucene.queryParser.standard that return types with arguments of type DateTools.Resolution | |
---|---|
Map<CharSequence,DateTools.Resolution> |
StandardQueryParser.getDateResolutionMap()
Returns the field to DateTools.Resolution map used to normalize each date
field. |
Methods in org.apache.lucene.queryParser.standard with parameters of type DateTools.Resolution | |
---|---|
void |
QueryParserWrapper.setDateResolution(DateTools.Resolution dateResolution)
Deprecated. |
void |
StandardQueryParser.setDateResolution(DateTools.Resolution dateResolution)
Sets the default DateTools.Resolution used for certain field when no
DateTools.Resolution is defined for this field. |
void |
QueryParserWrapper.setDateResolution(String fieldName,
DateTools.Resolution dateResolution)
Deprecated. |
Method parameters in org.apache.lucene.queryParser.standard with type arguments of type DateTools.Resolution | |
---|---|
void |
StandardQueryParser.setDateResolution(Map<CharSequence,DateTools.Resolution> dateRes)
Deprecated. this method was renamed to StandardQueryParser.setDateResolutionMap(Map) |
void |
StandardQueryParser.setDateResolutionMap(Map<CharSequence,DateTools.Resolution> dateRes)
Sets the DateTools.Resolution used 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 | |
---|---|
static ConfigurationKey<DateTools.Resolution> |
StandardQueryConfigHandler.ConfigurationKeys.DATE_RESOLUTION
Key used to set default DateTools.Resolution . |
static ConfigurationKey<Map<CharSequence,DateTools.Resolution>> |
StandardQueryConfigHandler.ConfigurationKeys.FIELD_DATE_RESOLUTION_MAP
Key used to set a field to DateTools.Resolution map that is used to
normalize each date field value. |
Methods in org.apache.lucene.queryParser.standard.config that return DateTools.Resolution | |
---|---|
DateTools.Resolution |
DateResolutionAttributeImpl.getDateResolution()
Deprecated. |
DateTools.Resolution |
DateResolutionAttribute.getDateResolution()
Deprecated. |
Methods in org.apache.lucene.queryParser.standard.config that return types with arguments of type DateTools.Resolution | |
---|---|
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 | |
---|---|
void |
DateResolutionAttributeImpl.setDateResolution(DateTools.Resolution dateResolution)
Deprecated. |
void |
DateResolutionAttribute.setDateResolution(DateTools.Resolution dateResolution)
Deprecated. Sets the default date resolution used by RangeQueryNode s for
fields for which no specific date resolutions has been set. |
Method parameters in org.apache.lucene.queryParser.standard.config with type arguments of type DateTools.Resolution | |
---|---|
void |
FieldDateResolutionMapAttribute.setFieldDateResolutionMap(Map<CharSequence,DateTools.Resolution> dateRes)
Deprecated. |
void |
FieldDateResolutionMapAttributeImpl.setFieldDateResolutionMap(Map<CharSequence,DateTools.Resolution> dateRes)
Deprecated. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |