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