org.apache.lucene.queryParser.standard.config
Interface FieldBoostMapAttribute
- All Superinterfaces:
- Attribute
- All Known Implementing Classes:
- FieldBoostMapAttributeImpl
public interface FieldBoostMapAttribute
- extends Attribute
This attribute enables the user to define a default boost per field.
it's used by FieldBoostMapFCListener.buildFieldConfig(FieldConfig)
setFieldBoostMap
void setFieldBoostMap(Map<String,Float> boosts)
- Parameters:
boosts
- a mapping from field name to its default boost
getFieldBoostMap
Map<String,Float> getFieldBoostMap()
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.