/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

Necessary classes to implement query builders.

Query Parser Builders

The package org.apache.lucene.queryParser.builders contains the interface that builders must implement, it also contain a utility QueryTreeBuilder, which walks the tree and call the Builder for each node in the tree. Builder normally convert QueryNode Object into a Lucene Query Object, and normally it's a one-to-one mapping class. But other builders implementations can by written to convert QueryNode objects to other non lucene objects.

/** * Necessary classes to implement query builders. * * <h2>Query Parser Builders</h2> * <p> * The package <tt>org.apache.lucene.queryParser.builders</tt> contains the interface that * builders must implement, it also contain a utility {@link org.apache.lucene.queryparser.flexible.core.builders.QueryTreeBuilder}, which walks the tree * and call the Builder for each node in the tree. * Builder normally convert QueryNode Object into a Lucene Query Object, * and normally it's a one-to-one mapping class. * * But other builders implementations can by written to convert QueryNode objects to other non lucene objects. */
package org.apache.lucene.queryparser.flexible.core.builders;