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 2017/10/31 13:49:01 UTC

[jira] [Created] (LUCENE-8029) Fields.size() should not return -1

Adrien Grand created LUCENE-8029:
------------------------------------

             Summary: Fields.size() should not return -1
                 Key: LUCENE-8029
                 URL: https://issues.apache.org/jira/browse/LUCENE-8029
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Adrien Grand
            Priority: Minor


All call sites of Fields.size() recompute it if it is not available. We should make the API easier to use and require that it never returns -1.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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