Package org.apache.lucene.queryparser.flexible.standard
package org.apache.lucene.queryparser.flexible.standard
Lucene Flexible Query Parser Implementation
The old Lucene query parser used to have only one class that performed all the parsing operations. In the new query parser structure, the parsing was divided in 3 steps: parsing (syntax), processing (semantic) and building.
The classes contained in the package org.apache.lucene.queryParser.standard are used to reproduce the same behavior as the old query parser.
Check StandardQueryParser
to quick
start using the Lucene query parser.
-
ClassDescriptionConfiguration options common across queryparser implementations.This class defines utility methods to (help) parse query strings into
Query
objects.TheStandardQueryParser
is a pre-assembled query parser that supports most features of the classic Lucene query parser, allows dynamic configuration of some of its features (like multi-field expansion or wildcard query restrictions) and adds support for new query types and expressions.