You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Commit Tag Bot (JIRA)" <ji...@apache.org> on 2012/12/11 05:33:22 UTC
[jira] [Commented] (LUCENE-4605) Add FLAG_NONE to DocsEnum and
DocsAndPositionsEnum
[ https://issues.apache.org/jira/browse/LUCENE-4605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13528661#comment-13528661 ]
Commit Tag Bot commented on LUCENE-4605:
----------------------------------------
[trunk commit] Shai Erera
http://svn.apache.org/viewvc?view=revision&revision=1419991
LUCENE-4605: Add FLAG_NONE to DocsEnum and DocsAndPositionsEnum
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org