lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3608) MultiFields.getUniqueFieldCount is broken
Date Wed, 30 Nov 2011 15:55:39 GMT

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

Michael McCandless commented on LUCENE-3608:
--------------------------------------------

+1 for -1 ;)
                
> MultiFields.getUniqueFieldCount is broken
> -----------------------------------------
>
>                 Key: LUCENE-3608
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3608
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>             Fix For: 4.0
>
>
> this returns terms.size(), but terms is lazy-initted. So it wrongly returns 0.
> Simplest fix would be to return -1.

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