org.apache.lucene.queryParser.standard.config
Class FieldBoostMapFCListener
java.lang.Object
org.apache.lucene.queryParser.standard.config.FieldBoostMapFCListener
- All Implemented Interfaces:
- FieldConfigListener
public class FieldBoostMapFCListener
- extends Object
- implements FieldConfigListener
This listener listens for every field configuration request and assign a
BoostAttribute
to the equivalent FieldConfig
based on a
defined map: fieldName -> boostValue store in FieldBoostMapAttribute
in the FieldBoostMapAttribute
.
- See Also:
BoostAttribute
,
FieldBoostMapAttribute
,
FieldConfig
,
FieldConfigListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldBoostMapFCListener
public FieldBoostMapFCListener(QueryConfigHandler config)
buildFieldConfig
public void buildFieldConfig(FieldConfig fieldConfig)
- Description copied from interface:
FieldConfigListener
- This method is called ever time a field configuration is requested.
- Specified by:
buildFieldConfig
in interface FieldConfigListener
- Parameters:
fieldConfig
- the field configuration requested, should never be null
Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.