|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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 BoostAttributepublic float getBoost()
BoostAttribute1.0f.
getBoost in interface BoostAttributepublic void clear()
AttributeImpl
clear in class AttributeImplpublic 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 | ||||||||