jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukas Kahwe Smith <...@pooteeweet.org>
Subject getting total number of results from a query
Date Thu, 19 Jan 2012 17:28:52 GMT

I havent found a way to get the total number of results (via davex). Afaik via Lucene it should
be trivial to provide this number (even when using limit/offset), but from what I see there
is only a getSize() on the iterator which is limited to the rows that were requested. However
in a web app its often quite useful to be able to know the full count of the result set (though
the number doesnt necessarily need to be 100% accurate).

Lukas Kahwe Smith

View raw message