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.BOOST
to the equivalentFieldConfig
based 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 void
buildFieldConfig(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:FieldConfigListener
This method is called ever time a field configuration is requested.- Specified by:
buildFieldConfig
in interfaceFieldConfigListener
- Parameters:
fieldConfig
- the field configuration requested, should never be null
-
-