Apache Lucene.Net 2.4.0 Class Library API

Lucene.Net.QueryParsers Namespace

Namespace hierarchy

Classes

Class Description
FastCharStream  
MultiFieldQueryParser A QueryParser which constructs queries to search multiple fields.
ParseException This exception is thrown when parse errors are encountered. You can explicitly create objects of this exception type by calling the method generateParseException in the generated parser. You can modify this class to customize your error reporting mechanisms so long as you retain the public fields.
QueryParser  
QueryParser.Operator The default operator for parsing queries. Use {@link QueryParser#setDefaultOperator} to change it.
QueryParserConstants Token literal values and constants. Generated by org.javacc.parser.OtherFilesGen#start()
QueryParserTokenManager  
Token Describes the input token stream.
TokenMgrError Token Manager Error.

Interfaces

Interface Description
CharStream This interface describes a character stream that maintains line and column number positions of the characters. It also has the capability to backup the stream to some extent. An implementation of this interface is used in the TokenManager implementation generated by JavaCCParser. All the methods except backup can be implemented in any fashion. backup needs to be implemented correctly for the correct operation of the lexer. Rest of the methods are all used to get information like line number, column number and the String that constitutes a token and are not used by the lexer. Hence their implementation won't affect the generated lexer's operation.