lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (Assigned) (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (LUCENE-3970) Rename getUnique[Field/Terms]Count() into size()
Date Tue, 10 Apr 2012 19:43:13 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-3970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael McCandless reassigned LUCENE-3970:
------------------------------------------

    Assignee: Michael McCandless
    
> Rename getUnique[Field/Terms]Count() into size()
> ------------------------------------------------
>
>                 Key: LUCENE-3970
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3970
>             Project: Lucene - Java
>          Issue Type: Task
>          Components: core/index
>            Reporter: Iulius Curt
>            Assignee: Michael McCandless
>            Priority: Minor
>             Fix For: 4.0
>
>         Attachments: LUCENE-3970.patch
>
>
> Like Robert Muir said in LUCENE-3109:
> {quote}Also I think there are other improvements we can do here that would be more natural:
> Fields.getUniqueFieldCount() -> Fields.size()
> Terms.getUniqueTermCount() -> Terms.size(){quote}
> I believe this dramatically improves understandability (way less 'scary', actually beautiful).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


Mime
View raw message