Shai Erera created LUCENE-4605:
----------------------------------
Summary: Add FLAGS_NONE to DocsEnum and DocsAndPositionsEnum
Key: LUCENE-4605
URL: https://issues.apache.org/jira/browse/LUCENE-4605
Project: Lucene - Core
Issue Type: Improvement
Components: core/index
Reporter: Shai Erera
Assignee: Shai Erera
Priority: Minor
Fix For: 4.1, 5.0
Add a convenience constants FLAGS_NONE to DocsEnum and DocsAndPositionsEnum.
Today, if someone e.g. wants to get the docs only, he needs to pass 0 as the
flags, but the value of 0 is not documented anywhere. I had to dig in the code
the verify that indeed that's the value.
I'll attach a patch later.
--
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]