Juha Haaga created LUCENE-4655:
----------------------------------
Summary: Documentation of the StandardTokenizerInterface
getNextToken() return value
Key: LUCENE-4655
URL: https://issues.apache.org/jira/browse/LUCENE-4655
Project: Lucene - Core
Issue Type: Bug
Components: general/javadocs
Affects Versions: 3.6.2, 4.0
Reporter: Juha Haaga
Priority: Minor
Documentation of getNextToken() says that it returns an int, but incorrectly
states that it returns the next token. getNextToken doesn't return the next
token, it returns the numerical type of the next token that was found, as
defined by constants in the implementing class. That is also useful information
that can be taken advantage of in the filtering chain that follows.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]