| Home >> All >> org >> apache >> lucene >> [ queryParser Javadoc ] |
org.apache.lucene.queryParser: Javadoc index of package org.apache.lucene.queryParser.
Package Samples:
org.apache.lucene.queryParser
Classes:
QueryParser: This class is generated by JavaCC. The only method that clients should need to call is parse() . The syntax for query strings is as follows: A Query is a series of clauses. A clause may be prefixed by: a plus ( + ) or a minus ( - ) sign, indicating that the clause is required or prohibited respectively; or a term followed by a colon, indicating the field to be searched. This enables one to construct queries which search multiple fields. A clause may be either: a term, indicating all the documents that contain this term; or a nested query, enclosed in parentheses. Note that this may be used with ...
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 ...
FastCharStream: An efficient implementation of JavaCC's CharStream interface. Note that this does not do line-number counting, but instead keeps track of the character position of the token in the input, as required by Lucene's org.apache.lucene.analysis.Token API.
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.
MultiFieldQueryParser: A QueryParser which constructs queries to search multiple fields.
Token: Describes the input token stream.
TestQueryParser: Tests QueryParser.
QueryParserConstants
QueryParserTokenManager
TokenMgrError
| Home | Contact Us | Privacy Policy | Terms of Service |