Class FieldDateResolutionMapAttributeImpl
- java.lang.Object
-
- org.apache.lucene.util.AttributeImpl
-
- org.apache.lucene.queryParser.standard.config.FieldDateResolutionMapAttributeImpl
-
- All Implemented Interfaces:
Serializable
,Cloneable
,ConfigAttribute
,FieldDateResolutionMapAttribute
,org.apache.lucene.util.Attribute
@Deprecated public class FieldDateResolutionMapAttributeImpl extends org.apache.lucene.util.AttributeImpl implements FieldDateResolutionMapAttribute, ConfigAttribute
Deprecated.This attribute enables the user to define a default DateResolution per field. it's used byFieldDateResolutionFCListener.buildFieldConfig(org.apache.lucene.queryParser.core.config.FieldConfig)
- See Also:
FieldDateResolutionMapAttribute
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FieldDateResolutionMapAttributeImpl()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
clear()
Deprecated.void
copyTo(org.apache.lucene.util.AttributeImpl target)
Deprecated.boolean
equals(Object other)
Deprecated.Map<CharSequence,org.apache.lucene.document.DateTools.Resolution>
getFieldDateResolutionMap()
Deprecated.int
hashCode()
Deprecated.void
setFieldDateResolutionMap(Map<CharSequence,org.apache.lucene.document.DateTools.Resolution> dateRes)
Deprecated.void
setQueryConfigHandler(AbstractQueryConfig config)
Deprecated.String
toString()
Deprecated.
-
-
-
Method Detail
-
setFieldDateResolutionMap
public void setFieldDateResolutionMap(Map<CharSequence,org.apache.lucene.document.DateTools.Resolution> dateRes)
Deprecated.- Specified by:
setFieldDateResolutionMap
in interfaceFieldDateResolutionMapAttribute
- Parameters:
dateRes
- a mapping from field name to its default boost
-
getFieldDateResolutionMap
public Map<CharSequence,org.apache.lucene.document.DateTools.Resolution> getFieldDateResolutionMap()
Deprecated.- Specified by:
getFieldDateResolutionMap
in interfaceFieldDateResolutionMapAttribute
-
clear
public void clear()
Deprecated.- Specified by:
clear
in classorg.apache.lucene.util.AttributeImpl
-
copyTo
public void copyTo(org.apache.lucene.util.AttributeImpl target)
Deprecated.- Specified by:
copyTo
in classorg.apache.lucene.util.AttributeImpl
-
toString
public String toString()
Deprecated.- Overrides:
toString
in classorg.apache.lucene.util.AttributeImpl
-
setQueryConfigHandler
public void setQueryConfigHandler(AbstractQueryConfig config)
Deprecated.- Specified by:
setQueryConfigHandler
in interfaceConfigAttribute
-
-