FieldConfigListener | This interface should be implemented by classes that wants to listen for field configuration requests. | code | html |
QueryConfigHandler | This class can be used to hold any query configuration and no field configuration. | code | html |
FieldConfig | This class represents a field configuration. | code | html |
The package org.apache.lucene.queryParser.config contains query configuration handler abstract class that all config handlers should extend.
See org.apache.lucene.queryParser.standard.config.StandardQueryConfigHandler for a reference implementation.
org.apache.lucene.queryParser.core.config.FieldConfig and org.apache.lucene.queryParser.core.config.QueryConfigHandler should use org.apache.lucene.util.Attribute to store all attributes required by the config implementation. See org.apache.lucene.queryParser.standard.config.*Attribute for reference implementation.
The org.apache.lucene.queryParser.core.config.QueryConfigHandler , org.apache.lucene.queryParser.core.config.FieldConfig , and org.apache.lucene.util.Attribute s are used in the processors to access config information in a flexible and independent way. See org.apache.lucene.queryParser.standard.processors.ParametricRangeQueryNodeProcessor for a reference implementation.