[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to