You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2015/02/27 16: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=14340272#comment-14340272 ] 

Adrien Grand commented on LUCENE-6307:
--------------------------------------

+1

On IndexReader it is just maxDoc(), should it be maxDoc() too on SI? (instead of getMaxDoc())

> 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
>
>
> 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