jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (JCR-651) Improve performance for queries with large result sets
Date Mon, 18 Dec 2006 08:48:22 GMT
     [ http://issues.apache.org/jira/browse/JCR-651?page=all ]

Jukka Zitting reopened JCR-651:
-------------------------------

             
Reopened since the fix introduces a security issue.

Using the query mechanism it is now possible for a user to infer the existence of some content
to which access would otherwise be denied.

To prevent this the query result implementation must by default return -1 from getSize() unless
it can avoid counting rows that may get dropped because of access controls. It's OK to add
a configuration option that activates the current behaviour, but it must not be enabled by
default.

> 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

        

Mime
View raw message