|
|||||||||
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.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 MaxNonCompetitiveBoostAttribute
public float getMaxNonCompetitiveBoost()
MaxNonCompetitiveBoostAttribute
getMaxNonCompetitiveBoost
in interface MaxNonCompetitiveBoostAttribute
public void setCompetitiveTerm(BytesRef competitiveTerm)
MaxNonCompetitiveBoostAttribute
null
of the term that triggered the boost change.
setCompetitiveTerm
in interface MaxNonCompetitiveBoostAttribute
public BytesRef getCompetitiveTerm()
MaxNonCompetitiveBoostAttribute
null
of the term that triggered the boost change. Default is null
, which means every term is competitoive.
getCompetitiveTerm
in interface MaxNonCompetitiveBoostAttribute
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 |