Smart getSize() for query results
---------------------------------

                 Key: JCR-2612
                 URL: https://issues.apache.org/jira/browse/JCR-2612
             Project: Jackrabbit Content Repository
          Issue Type: Improvement
          Components: jackrabbit-core, query
            Reporter: Jukka Zitting
            Priority: Minor


Instead of so often returning -1, it would be nice if the getSize() method of 
query result iterators would automatically prefetch something like up to 1k 
results and only return -1 if there were still more results. That should make 
the getSize() method more useful for the majority of cases even without extra 
"order by" clauses.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to