Package org.apache.lucene.queryParser.core.config

Contains the base classes used to configure the query processing


Interface Summary
FieldConfigListener This interface should be implemented by classes that wants to listen for field configuration requests.

Class Summary
FieldConfig This class represents a field configuration.
QueryConfigHandler This class can be used to hold any query configuration and no field configuration.

Package org.apache.lucene.queryParser.core.config Description

Contains the base classes used to configure the query processing

Query Configuration Interfaces

The package org.apache.lucene.queryParser.config contains query configuration handler abstract class that all config handlers should extend.

See StandardQueryConfigHandler for a reference implementation.

FieldConfig and QueryConfigHandler should use Attribute to store all attributes required by the config implementation. See org.apache.lucene.queryParser.standard.config.*Attribute for reference implementation.

The QueryConfigHandler, FieldConfig, and Attributes are used in the processors to access config information in a flexible and independent way. See ParametricRangeQueryNodeProcessor for a reference implementation.

Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.