You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Christoph Kiehl (JIRA)" <ji...@apache.org> on 2008/01/18 08:17:34 UTC

[jira] Resolved: (JCR-1323) When using QueryImpl.setLimit() and QueryImpl.setOffset(), then NodeIterator.getSize() reports wrong size

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

Christoph Kiehl resolved JCR-1323.
----------------------------------

    Resolution: Invalid
      Assignee: Christoph Kiehl

This is expected behaviour as the iterator has exactly that size. To get the total number of result entries use org.apache.jackrabbit.core.query.lucene.QueryResultImpl.getTotalSize(). Please ask on the mailing list before creating issues.

> When using QueryImpl.setLimit() and QueryImpl.setOffset(), then NodeIterator.getSize() reports wrong size
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: JCR-1323
>                 URL: https://issues.apache.org/jira/browse/JCR-1323
>             Project: Jackrabbit
>          Issue Type: Bug
>    Affects Versions: 1.4
>         Environment: Linux, Java 6
>            Reporter: Martin Zdila
>            Assignee: Christoph Kiehl
>
> When using QueryImpl.setLimit() and QueryImpl.setOffset(), then NodeIterator.getSize() reports wrong size. Returned size seems to be allways the same as the limit.

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