Uses of Class
org.apache.lucene.queryparser.classic.Token
Packages that use Token
Package
Description
A simple query parser implemented with JavaCC.
-
Uses of Token in org.apache.lucene.queryparser.classic
Fields in org.apache.lucene.queryparser.classic declared as TokenModifier and TypeFieldDescriptionParseException.currentTokenThis is the last token that has been consumed successfully.QueryParser.jj_ntNext token.Token.nextA reference to the next regular (non-special) token from the input stream.Token.specialTokenThis field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.QueryParser.tokenCurrent token.Methods in org.apache.lucene.queryparser.classic that return TokenModifier and TypeMethodDescriptionfinal TokenQueryParser.getNextToken()Get the next Token.QueryParserTokenManager.getNextToken()Get the next Token.final TokenQueryParser.getToken(int index) Get the specific Token.protected TokenQueryParserTokenManager.jjFillToken()static TokenToken.newToken(int ofKind) static TokenReturns a new Token object, by default.Methods in org.apache.lucene.queryparser.classic with parameters of type TokenModifier and TypeMethodDescriptionprotected floatQueryParserBase.getFuzzyDistance(Token fuzzyToken, String termStr) Determines the similarity distance for the given fuzzy token and term string.Constructors in org.apache.lucene.queryparser.classic with parameters of type TokenModifierConstructorDescriptionParseException(Token currentTokenVal, int[][] expectedTokenSequencesVal, String[] tokenImageVal) This constructor is used by the method "generateParseException" in the generated parser.