@Deprecated public class FieldBoostMapAttributeImpl extends org.apache.lucene.util.AttributeImpl implements FieldBoostMapAttribute, ConfigAttribute
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 |
|---|
FieldBoostMapAttributeImpl()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Deprecated.
|
void |
copyTo(org.apache.lucene.util.AttributeImpl target)
Deprecated.
|
boolean |
equals(java.lang.Object other)
Deprecated.
|
java.util.Map<java.lang.String,java.lang.Float> |
getFieldBoostMap()
Deprecated.
|
int |
hashCode()
Deprecated.
|
void |
setFieldBoostMap(java.util.Map<java.lang.String,java.lang.Float> boosts)
Deprecated.
|
void |
setQueryConfigHandler(AbstractQueryConfig config)
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
public void setFieldBoostMap(java.util.Map<java.lang.String,java.lang.Float> boosts)
setFieldBoostMap in interface FieldBoostMapAttributeboosts - a mapping from field name to its default boostpublic java.util.Map<java.lang.String,java.lang.Float> getFieldBoostMap()
getFieldBoostMap in interface FieldBoostMapAttributepublic 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 java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class org.apache.lucene.util.AttributeImplpublic void setQueryConfigHandler(AbstractQueryConfig config)
setQueryConfigHandler in interface ConfigAttributeCopyright © 2000-2022 Apache Software Foundation. All Rights Reserved.