FieldConfigListener
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 | Description |
---|---|
FieldBoostMapFCListener(QueryConfigHandler config) |
Modifier and Type | Method | 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-2018 Apache Software Foundation. All Rights Reserved.