|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.util.AttributeImpl org.apache.lucene.search.BoostAttributeImpl
public final class BoostAttributeImpl
Implementation class for BoostAttribute
.
Constructor Summary | |
---|---|
BoostAttributeImpl()
|
Method Summary | |
---|---|
void |
clear()
Clears the values in this AttributeImpl and resets it to its default value. |
void |
copyTo(AttributeImpl target)
Copies the values from this Attribute into the passed-in target attribute. |
float |
getBoost()
Retrieves the boost, default is 1.0f . |
void |
setBoost(float boost)
Sets the boost in this attribute |
Methods inherited from class org.apache.lucene.util.AttributeImpl |
---|
clone, reflectAsString, reflectWith |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BoostAttributeImpl()
Method Detail |
---|
public void setBoost(float boost)
BoostAttribute
setBoost
in interface BoostAttribute
public float getBoost()
BoostAttribute
1.0f
.
getBoost
in interface BoostAttribute
public void clear()
AttributeImpl
clear
in class AttributeImpl
public void copyTo(AttributeImpl target)
AttributeImpl
copyTo
in class AttributeImpl
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |