Class BoostAttributeImpl
- java.lang.Object
-
- org.apache.lucene.util.AttributeImpl
-
- org.apache.lucene.queryParser.standard.config.BoostAttributeImpl
-
- All Implemented Interfaces:
Serializable,Cloneable,ConfigAttribute,BoostAttribute,org.apache.lucene.util.Attribute
@Deprecated public class BoostAttributeImpl extends org.apache.lucene.util.AttributeImpl implements BoostAttribute, 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 BoostAttributeImpl()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.floatgetBoost()Deprecated.inthashCode()Deprecated.voidsetBoost(float boost)Deprecated.voidsetQueryConfigHandler(AbstractQueryConfig config)Deprecated.StringtoString()Deprecated.
-
-
-
Method Detail
-
setBoost
public void setBoost(float boost)
Deprecated.- Specified by:
setBoostin interfaceBoostAttribute
-
getBoost
public float getBoost()
Deprecated.- Specified by:
getBoostin interfaceBoostAttribute
-
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
-
-