Hi,

On Thu, Jun 26, 2014 at 2:55 AM, Davide Giannella <dav...@apache.org> wrote:
> Can't we do the ACL check lazily? Instead of the query engine looping
> through the nodes and check, if there's no need of doing so already (IE
> sorting), why not returning the set and then filter out the ACLs while
> the user load the node using the NodeIterator?

As Thomas said, we already do that.

Since we want to estimate full cost of executing a query, including
the iteration over the query results, we need to take also those costs
into account when making a decision on which index to use.

BR,

Jukka Zitting

Reply via email to