org.apache.lucene.queryParser.analyzing | QueryParser that passes Fuzzy-, Prefix-, Range-, and WildcardQuerys through the given analyzer. |
org.apache.lucene.queryParser.complexPhrase | QueryParser which permits complex phrase query syntax eg "(john jon jonathan~) peters*" |
org.apache.lucene.queryParser.core | Contains the core classes of the flexible query parser framework Flexible Query Parser This package contains the necessary classes to implement a query parser. |
org.apache.lucene.queryParser.core.builders | Contains the 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 org.apache.lucene.queryParser.core.builders.QueryTreeBuilder , which walks the tree and call the Builder for each node in the tree. |
org.apache.lucene.queryParser.core.config | Contains the base classes used to configure the query processing Query Configuration Interfaces The package org.apache.lucene.queryParser.config contains query configuration handler abstract class that all config handlers should extend. |
org.apache.lucene.queryParser.core.messages | Contains messages usually used by query parser implementations Query Parser Messages Messages for the Flexible Query Parser, they use org.apache.lucene.messages.NLS API. |
org.apache.lucene.queryParser.core.nodes | Contains query nodes that are commonly used by query parser implementations Query Nodes The package org.apache.lucene.queryParser.nodes contains all the basic query nodes. |
org.apache.lucene.queryParser.core.parser | Contains the necessary interfaces to implement text parsers Parser The package org.apache.lucene.queryParser.parser contains interfaces that should be implemented by the parsers. |
org.apache.lucene.queryParser.core.processors | Interfaces and implementations used by query node processors Query Node Processors The package org.apache.lucene.queryParser.processors contains interfaces that should be implemented by every query node processor. |
org.apache.lucene.queryParser.core.util | Utility classes to used with the Query Parser Utility classes to used with the Query Parser This package contains utility classes used with the query parsers. |
org.apache.lucene.queryParser.precedence | QueryParser designed to handle operator precedence in a more sensible fashion than the default QueryParser. |
org.apache.lucene.queryParser.standard | Contains the implementation of the Lucene 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. |
org.apache.lucene.queryParser.standard.builders | Standard Lucene Query Node Builders The package org.apache.lucene.queryParser.standard.builders contains all the builders needed to build a Lucene Query object from a query node tree. |
org.apache.lucene.queryParser.standard.config | Standard Lucene Query Configuration The package org.apache.lucene.queryParser.standard.config contains the Lucene query configuration handler and all the attributes used by it. |
org.apache.lucene.queryParser.standard.nodes | Standard Lucene Query Nodes The package org.apache.lucene.queryParser.standard.nodes contains QueryNode classes that are used specifically for Lucene query node tree. |
org.apache.lucene.queryParser.standard.parser | Lucene Query Parser The package org.apache.lucene.queryParser.standard.parser contains the query parser. |
org.apache.lucene.queryParser.standard.processors | Lucene Query Node Processors The package org.apache.lucene.queryParser.standard.processors contains every processor needed to assembly a pipeline that modifies the query node tree according to the actual Lucene queries. |
org.apache.lucene.queryParser.surround.parser | This package contains the QueryParser.jj source file for the Surround parser. |
org.apache.lucene.queryParser.surround.query | This package contains SrndQuery and its subclasses. |
CharStream | This interface describes a character stream that maintains line and column number positions of the characters. | code | html |
QueryParserConstants | Token literal values and constants. | code | html |
QueryParser.Operator | The default operator for parsing queries. | code | html |
FastCharStream | An efficient implementation of JavaCC's CharStream interface. | code | html |
MultiFieldQueryParser | A QueryParser which constructs queries to search multiple fields. | code | html |
ParseException | This exception is thrown when parse errors are encountered. | code | html |
QueryParser | This class is generated by JavaCC. | code | html |
QueryParser.JJCalls | code | html | |
QueryParser.LookaheadSuccess | code | html | |
QueryParserTokenManager | Token Manager. | code | html |
TestQueryParser.QPTestAnalyzer | code | html | |
TestQueryParser.QPTestFilter | code | html | |
TestQueryParser.QPTestParser | code | html | |
Token | Describes the input token stream. | code | html |
TokenMgrError | Token Manager Error. | code | html |
TestQueryParser | Tests QueryParser. | code | html |
Note that JavaCC defines lots of public classes, methods and fields that do not need to be public. These clutter the documentation. Sorry.
Note that because JavaCC defines a class named Token, org.apache.lucene.analysis.Token must always be fully qualified in source code in this package.
NOTE: contrib/queryparser has an alternative queryparser that matches the syntax of this one, but is more modular, enabling substantial customization to how a query is created.