Class PointsConfigListener
java.lang.Object
org.apache.lucene.queryparser.flexible.standard.config.PointsConfigListener
- All Implemented Interfaces:
FieldConfigListener
This listener is used to listen to
FieldConfig
requests in QueryConfigHandler
and
add StandardQueryConfigHandler.ConfigurationKeys.POINTS_CONFIG
based on the StandardQueryConfigHandler.ConfigurationKeys.POINTS_CONFIG_MAP
set in the QueryConfigHandler
.- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs aPointsConfigListener
object using the givenQueryConfigHandler
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
buildFieldConfig
(FieldConfig fieldConfig) This method is called ever time a field configuration is requested.
-
Constructor Details
-
PointsConfigListener
Constructs aPointsConfigListener
object using the givenQueryConfigHandler
.- Parameters:
config
- theQueryConfigHandler
it will listen too
-
-
Method Details
-
buildFieldConfig
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
-