Class PointsConfigListener
- java.lang.Object
-
- org.apache.lucene.queryparser.flexible.standard.config.PointsConfigListener
-
- All Implemented Interfaces:
FieldConfigListener
public class PointsConfigListener extends Object implements FieldConfigListener
This listener is used to listen toFieldConfig
requests inQueryConfigHandler
and addStandardQueryConfigHandler.ConfigurationKeys.POINTS_CONFIG
based on theStandardQueryConfigHandler.ConfigurationKeys.POINTS_CONFIG_MAP
set in theQueryConfigHandler
.
-
-
Constructor Summary
Constructors Constructor Description PointsConfigListener(QueryConfigHandler config)
Constructs aPointsConfigListener
object using the givenQueryConfigHandler
.
-
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
-
PointsConfigListener
public PointsConfigListener(QueryConfigHandler config)
Constructs aPointsConfigListener
object using the givenQueryConfigHandler
.- Parameters:
config
- theQueryConfigHandler
it will listen too
-
-
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
-
-