Package org.apache.lucene.queryparser.flexible.standard
Implementation of the Lucene classic query parser using the flexible query parser frameworks
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.
-
Interface Summary Interface Description CommonQueryParserConfiguration Configuration options common across queryparser implementations. -
Class Summary Class Description QueryParserUtil This class defines utility methods to (help) parse query strings intoQuery
objects.StandardQueryParser This class is a helper that enables users to easily use the Lucene query parser.