public class FieldBoostMapFCListener extends Object implements FieldConfigListener
StandardQueryConfigHandler.ConfigurationKeys.BOOST
to the
equivalent FieldConfig
based on a defined map: fieldName -> boostValue stored in
StandardQueryConfigHandler.ConfigurationKeys.FIELD_BOOST_MAP
.Constructor and Description |
---|
FieldBoostMapFCListener(QueryConfigHandler config) |
Modifier and Type | Method and Description |
---|---|
void |
buildFieldConfig(FieldConfig fieldConfig)
This method is called ever time a field configuration is requested.
|
public FieldBoostMapFCListener(QueryConfigHandler config)
public void buildFieldConfig(FieldConfig fieldConfig)
FieldConfigListener
buildFieldConfig
in interface FieldConfigListener
fieldConfig
- the field configuration requested, should never be nullCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.