Uses of Class
org.apache.lucene.queryparser.classic.QueryParser
Packages that use QueryParser
Package
Description
A simple query parser implemented with JavaCC.
QueryParser which permits complex phrase query syntax eg "(john jon jonathan~) peters*"
Extendable QueryParser provides a simple and flexible extension mechanism by overloading query
field names.
Parser that produces Lucene Query objects from XML streams.
XML Parser factories for different Lucene Query/Filters.
-
Uses of QueryParser in org.apache.lucene.queryparser.classic
Subclasses of QueryParser in org.apache.lucene.queryparser.classicModifier and TypeClassDescriptionclassA QueryParser which constructs queries to search multiple fields. -
Uses of QueryParser in org.apache.lucene.queryparser.complexPhrase
Subclasses of QueryParser in org.apache.lucene.queryparser.complexPhraseModifier and TypeClassDescriptionclassQueryParser which permits complex phrase query syntax eg "(john jon jonathan~) peters*". -
Uses of QueryParser in org.apache.lucene.queryparser.ext
Subclasses of QueryParser in org.apache.lucene.queryparser.extModifier and TypeClassDescriptionclassTheExtendableQueryParserenables arbitrary query parser extension based on a customizable field naming scheme.Methods in org.apache.lucene.queryparser.ext that return QueryParserModifier and TypeMethodDescriptionExtensionQuery.topLevelParser()Returns the value of thetopLevelParserrecord component.Constructors in org.apache.lucene.queryparser.ext with parameters of type QueryParserModifierConstructorDescriptionExtensionQuery(QueryParser topLevelParser, String field, String rawQueryString) Creates an instance of aExtensionQueryrecord class. -
Uses of QueryParser in org.apache.lucene.queryparser.xml
Fields in org.apache.lucene.queryparser.xml declared as QueryParserConstructors in org.apache.lucene.queryparser.xml with parameters of type QueryParserModifierConstructorDescriptionprotectedCoreParser(String defaultField, Analyzer analyzer, QueryParser parser) CoreParser(Analyzer analyzer, QueryParser parser) Construct an XML parser that uses a single instance QueryParser for handling UserQuery tags - all parse operations are synchronised on this parserCorePlusExtensionsParser(Analyzer analyzer, QueryParser parser) Construct an XML parser that uses a single instance QueryParser for handling UserQuery tags - all parse operations are synchronized on this parserprotectedCorePlusQueriesParser(String defaultField, Analyzer analyzer, QueryParser parser) CorePlusQueriesParser(Analyzer analyzer, QueryParser parser) Construct an XML parser that uses a single instance QueryParser for handling UserQuery tags - all parse operations are synchronized on this parser -
Uses of QueryParser in org.apache.lucene.queryparser.xml.builders
Methods in org.apache.lucene.queryparser.xml.builders that return QueryParserModifier and TypeMethodDescriptionprotected QueryParserUserInputQueryBuilder.createQueryParser(String fieldName, Analyzer analyzer) Method to create a QueryParser - designed to be overriddenConstructors in org.apache.lucene.queryparser.xml.builders with parameters of type QueryParserModifierConstructorDescriptionUserInputQueryBuilder(QueryParser parser) This constructor has the disadvantage of not being able to change choice of default field name