|
|||||||||
| 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.MaxNonCompetitiveBoostAttributeImpl
public final class MaxNonCompetitiveBoostAttributeImpl
Implementation class for MaxNonCompetitiveBoostAttribute.
| Constructor Summary | |
|---|---|
MaxNonCompetitiveBoostAttributeImpl()
|
|
| 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. |
BytesRef |
getCompetitiveTerm()
This is the term or null of the term that triggered the boost change. |
float |
getMaxNonCompetitiveBoost()
This is the maximum boost that would not be competitive. |
void |
setCompetitiveTerm(BytesRef competitiveTerm)
This is the term or null of the term that triggered the boost change. |
void |
setMaxNonCompetitiveBoost(float maxNonCompetitiveBoost)
This is the maximum boost that would not be competitive. |
| 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 MaxNonCompetitiveBoostAttributeImpl()
| Method Detail |
|---|
public void setMaxNonCompetitiveBoost(float maxNonCompetitiveBoost)
MaxNonCompetitiveBoostAttribute
setMaxNonCompetitiveBoost in interface MaxNonCompetitiveBoostAttributepublic float getMaxNonCompetitiveBoost()
MaxNonCompetitiveBoostAttribute
getMaxNonCompetitiveBoost in interface MaxNonCompetitiveBoostAttributepublic void setCompetitiveTerm(BytesRef competitiveTerm)
MaxNonCompetitiveBoostAttributenull of the term that triggered the boost change.
setCompetitiveTerm in interface MaxNonCompetitiveBoostAttributepublic BytesRef getCompetitiveTerm()
MaxNonCompetitiveBoostAttributenull of the term that triggered the boost change. Default is null, which means every term is competitoive.
getCompetitiveTerm in interface MaxNonCompetitiveBoostAttributepublic 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 | ||||||||