Class FieldBoostMapFCListener
- java.lang.Object
-
- org.apache.lucene.queryparser.flexible.standard.config.FieldBoostMapFCListener
-
- All Implemented Interfaces:
FieldConfigListener
public class FieldBoostMapFCListener extends Object implements FieldConfigListener
This listener listens for every field configuration request and assign aStandardQueryConfigHandler.ConfigurationKeys.BOOSTto the equivalentFieldConfigbased on a defined map: fieldName -> boostValue stored inStandardQueryConfigHandler.ConfigurationKeys.FIELD_BOOST_MAP.
-
-
Constructor Summary
Constructors Constructor Description FieldBoostMapFCListener(QueryConfigHandler config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuildFieldConfig(FieldConfig fieldConfig)This method is called ever time a field configuration is requested.
-
-
-
Constructor Detail
-
FieldBoostMapFCListener
public FieldBoostMapFCListener(QueryConfigHandler config)
-
-
Method Detail
-
buildFieldConfig
public void buildFieldConfig(FieldConfig fieldConfig)
Description copied from interface:FieldConfigListenerThis method is called ever time a field configuration is requested.- Specified by:
buildFieldConfigin interfaceFieldConfigListener- Parameters:
fieldConfig- the field configuration requested, should never be null
-
-