@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 FormConstructor and Description |
---|
FieldBoostMapAttributeImpl()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Deprecated.
|
void |
copyTo(org.apache.lucene.util.AttributeImpl target)
Deprecated.
|
boolean |
equals(Object other)
Deprecated.
|
Map<String,Float> |
getFieldBoostMap()
Deprecated.
|
int |
hashCode()
Deprecated.
|
void |
setFieldBoostMap(Map<String,Float> boosts)
Deprecated.
|
void |
setQueryConfigHandler(AbstractQueryConfig config)
Deprecated.
|
String |
toString()
Deprecated.
|
public void setFieldBoostMap(Map<String,Float> boosts)
setFieldBoostMap
in interface FieldBoostMapAttribute
boosts
- a mapping from field name to its default boostpublic Map<String,Float> getFieldBoostMap()
getFieldBoostMap
in interface FieldBoostMapAttribute
public void clear()
clear
in class org.apache.lucene.util.AttributeImpl
public void copyTo(org.apache.lucene.util.AttributeImpl target)
copyTo
in class org.apache.lucene.util.AttributeImpl
public String toString()
toString
in class org.apache.lucene.util.AttributeImpl
public void setQueryConfigHandler(AbstractQueryConfig config)
setQueryConfigHandler
in interface ConfigAttribute