jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Kiehl <ki...@subshell.com>
Subject Re: Query performance for large query results
Date Mon, 27 Nov 2006 15:13:20 GMT
Marcel Reutegger wrote:
> Thomas Mueller wrote:
>> If setLimit is going to be implemented, then setOffset(long offset)
>> might as well be implemented at the same time (even if the first
>> implementation will not be optimized). Just from an API standpoint.
> 
> I think the same can be achieved with existing API calls, even though 
> the jackrabbit implementation does not make use of it:
> 
> QueryResult rs = ...;
> NodeIterator nodes = rs.getNodes();
> nodes.skip(offset);
> // display results...

I totally agree. Even in Jukkas patch the addition of an offset doesn't bring 
any performance improvements.

Cheers,
Christoph


Mime
View raw message