You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/03/02 18:28:05 UTC

[jira] [Commented] (LUCENE-6307) Rename SegmentInfo.docCount -> .maxDoc

    [ https://issues.apache.org/jira/browse/LUCENE-6307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14343420#comment-14343420 ] 

ASF subversion and git services commented on LUCENE-6307:
---------------------------------------------------------

Commit 1663371 from [~mikemccand] in branch 'dev/trunk'
[ https://svn.apache.org/r1663371 ]

LUCENE-6307: rename confusing docCount -> maxDoc in several places

> Rename SegmentInfo.docCount -> .maxDoc
> --------------------------------------
>
>                 Key: LUCENE-6307
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6307
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: Trunk, 5.x
>
>         Attachments: LUCENE-6307.patch, LUCENE-6307.patch
>
>
> We already have maxDoc and numDocs, I think it's crazy we have a 3rd one docCount.
> We should just rename to maxDoc.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org