Package org.apache.lucene.queryParser

A simple query parser implemented with JavaCC.

See:
          Description

Interface Summary
CharStream This interface describes a character stream that maintains line and column number positions of the characters.
QueryParserConstants Token literal values and constants.
 

Class Summary
FastCharStream An efficient implementation of JavaCC's CharStream interface.
MultiFieldQueryParser A QueryParser which constructs queries to search multiple fields.
QueryParser This class is generated by JavaCC.
QueryParserTokenManager Token Manager.
Token Describes the input token stream.
 

Enum Summary
QueryParser.Operator The default operator for parsing queries.
 

Exception Summary
ParseException This exception is thrown when parse errors are encountered.
 

Error Summary
TokenMgrError Token Manager Error.
 

Package org.apache.lucene.queryParser Description

A simple query parser implemented with JavaCC.

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.



Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.