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 byMultiFieldQueryNodeProcessorprocessor 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 voidclear()Deprecated.voidcopyTo(org.apache.lucene.util.AttributeImpl target)Deprecated.booleanequals(Object other)Deprecated.Map<String,Float>getFieldBoostMap()Deprecated.inthashCode()Deprecated.voidsetFieldBoostMap(Map<String,Float> boosts)Deprecated.voidsetQueryConfigHandler(AbstractQueryConfig config)Deprecated.StringtoString()Deprecated.
-
-
-
Method Detail
-
setFieldBoostMap
public void setFieldBoostMap(Map<String,Float> boosts)
Deprecated.- Specified by:
setFieldBoostMapin interfaceFieldBoostMapAttribute- Parameters:
boosts- a mapping from field name to its default boost
-
getFieldBoostMap
public Map<String,Float> getFieldBoostMap()
Deprecated.- Specified by:
getFieldBoostMapin interfaceFieldBoostMapAttribute
-
clear
public void clear()
Deprecated.- Specified by:
clearin classorg.apache.lucene.util.AttributeImpl
-
copyTo
public void copyTo(org.apache.lucene.util.AttributeImpl target)
Deprecated.- Specified by:
copyToin classorg.apache.lucene.util.AttributeImpl
-
toString
public String toString()
Deprecated.- Overrides:
toStringin classorg.apache.lucene.util.AttributeImpl
-
setQueryConfigHandler
public void setQueryConfigHandler(AbstractQueryConfig config)
Deprecated.- Specified by:
setQueryConfigHandlerin interfaceConfigAttribute
-
-