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
ConstructorsConstructorDescriptionConstructs aPointsConfigListenerobject using the givenQueryConfigHandler. -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildFieldConfig(FieldConfig fieldConfig) This method is called ever time a field configuration is requested.
-
Constructor Details
-
PointsConfigListener
Constructs aPointsConfigListenerobject using the givenQueryConfigHandler.- Parameters:
config- theQueryConfigHandlerit will listen too
-
-
Method Details
-
buildFieldConfig
Description copied from interface:FieldConfigListenerThis method is called ever time a field configuration is requested.- Specified by:
buildFieldConfigin interfaceFieldConfigListener- Parameters:
fieldConfig- the field configuration requested, should never be null
-