[
https://issues.apache.org/jira/browse/LUCENE-4605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shai Erera resolved LUCENE-4605.
--------------------------------
Resolution: Fixed
Committed to trunk and 4x.
> Add FLAG_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
>
> Attachments: LUCENE-4605.patch
>
>
> 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]