blob: ae599fd6026d0482b7d6640657a9b64c0cf02605 [file] [log] [blame]
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<!--
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.
-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
Interfaces and implementations used by query node processors
<h2>Query Node Processors</h2>
<p>
The package <tt>org.apache.lucene.queryParser.processors</tt> contains interfaces
that should be implemented by every query node processor.
</p>
<p>
The interface that every query node processor should implement is {@link org.apache.lucene.queryParser.core.processors.QueryNodeProcessor}.
</p>
<p>
A query node processor should be used to process a {@link org.apache.lucene.queryParser.core.nodes.QueryNode} tree.
{@link org.apache.lucene.queryParser.core.nodes.QueryNode} trees can be programmatically created or generated by a
text parser. See {@link org.apache.lucene.queryParser.core.parser} for more details about text parsers.
</p>
<p>
A query node processor should be used to process a {@link org.apache.lucene.queryParser.core.nodes.QueryNode} tree.
{@link org.apache.lucene.queryParser.core.nodes.QueryNode} trees can be programmatically created or generated by a
text parser. See {@link org.apache.lucene.queryParser.core.parser} for more details about text parsers.
</p>
<p>
A pipeline of processors can be assembled using {@link org.apache.lucene.queryParser.core.processors.QueryNodeProcessorPipeline}.
</p>
<p>
Implementors may want to extend {@link org.apache.lucene.queryParser.core.processors.QueryNodeProcessorImpl}, which simplifies
the implementation, because it walks automatically the {@link org.apache.lucene.queryParser.core.nodes.QueryNode}. See
{@link org.apache.lucene.queryParser.core.processors.QueryNodeProcessorImpl} for more details.
</p>
</body>
</html>