Class FieldBoostMapAttributeImpl
- java.lang.Object
-
- org.apache.lucene.util.AttributeImpl
-
- org.apache.lucene.queryParser.standard.config.FieldBoostMapAttributeImpl
-
- All Implemented Interfaces:
Serializable
,Cloneable
,ConfigAttribute
,FieldBoostMapAttribute
,org.apache.lucene.util.Attribute
@Deprecated public class FieldBoostMapAttributeImpl extends org.apache.lucene.util.AttributeImpl implements FieldBoostMapAttribute, ConfigAttribute
Deprecated.This attribute is used byMultiFieldQueryNodeProcessor
processor and it should be defined in aFieldConfig
. This processor uses this attribute to define which boost a specific field should have when none is defined to it.
- See Also:
BoostAttribute
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FieldBoostMapAttributeImpl()
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<String,Float>
getFieldBoostMap()
Deprecated.int
hashCode()
Deprecated.void
setFieldBoostMap(Map<String,Float> boosts)
Deprecated.void
setQueryConfigHandler(AbstractQueryConfig config)
Deprecated.String
toString()
Deprecated.
-
-
-
Method Detail
-
setFieldBoostMap
public void setFieldBoostMap(Map<String,Float> boosts)
Deprecated.- Specified by:
setFieldBoostMap
in interfaceFieldBoostMapAttribute
- Parameters:
boosts
- a mapping from field name to its default boost
-
getFieldBoostMap
public Map<String,Float> getFieldBoostMap()
Deprecated.- Specified by:
getFieldBoostMap
in interfaceFieldBoostMapAttribute
-
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
-
-