Class NumericFieldConfigListener
java.lang.Object
org.apache.lucene.queryparser.flexible.standard.config.NumericFieldConfigListener
- All Implemented Interfaces:
FieldConfigListener
This listener is used to listen to
FieldConfig requests in
QueryConfigHandler and add StandardQueryConfigHandler.ConfigurationKeys.NUMERIC_CONFIG
based on the StandardQueryConfigHandler.ConfigurationKeys.NUMERIC_CONFIG_MAP set in the
QueryConfigHandler.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstrucs aNumericFieldConfigListenerobject using the givenQueryConfigHandler. -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildFieldConfig(FieldConfig fieldConfig) This method is called ever time a field configuration is requested.
-
Constructor Details
-
NumericFieldConfigListener
Construcs aNumericFieldConfigListenerobject 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
-