[ http://issues.apache.org/jira/browse/JCR-651?page=all ]

Marcel Reutegger resolved JCR-651.
----------------------------------

    Resolution: Fixed

Changed the default value of the 'resultFetchSize' to Integer.MAX_VALUE. With 
this value getSize() will always return the correct value according to the 
users access rights.

Fixed in trunk and 1.2 branch: 488181

> Improve performance for queries with large result sets
> ------------------------------------------------------
>
>                 Key: JCR-651
>                 URL: http://issues.apache.org/jira/browse/JCR-651
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: query
>            Reporter: Marcel Reutegger
>         Assigned To: Marcel Reutegger
>            Priority: Minor
>             Fix For: 1.2
>
>
> The current implementation of QueryResult requires that access rights are 
> checked on all NodeIds before they are passed ot the QueryResult. This 
> handling should be improved to a more lazy approach where result nodes are 
> checked in configurable batches. Usually a client is only interested in the 
> top scoring results.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to