public class BoostAttributeImpl extends org.apache.lucene.util.AttributeImpl implements BoostAttribute
MultiFieldQueryNodeProcessor processor and
it should be defined in a FieldConfig. This processor uses this
attribute to define which boost a specific field should have when none is
defined to it. BoostAttribute,
Serialized Form| Constructor and Description |
|---|
BoostAttributeImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
copyTo(org.apache.lucene.util.AttributeImpl target) |
boolean |
equals(java.lang.Object other) |
float |
getBoost() |
int |
hashCode() |
void |
setBoost(float boost) |
java.lang.String |
toString() |
public void setBoost(float boost)
setBoost in interface BoostAttributepublic float getBoost()
getBoost in interface BoostAttributepublic void clear()
clear in class org.apache.lucene.util.AttributeImplpublic void copyTo(org.apache.lucene.util.AttributeImpl target)
copyTo in class org.apache.lucene.util.AttributeImplpublic boolean equals(java.lang.Object other)
equals in class org.apache.lucene.util.AttributeImplpublic int hashCode()
hashCode in class org.apache.lucene.util.AttributeImplpublic java.lang.String toString()
toString in class org.apache.lucene.util.AttributeImplCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.