Ard Schrijvers wrote:
Sorry for interfering with this performance thing, but it is very similar problem to our lucene impl we build on top of slide some time ago (the index was not ACL aware, so how to know the actual number of hits which are visible for a user without having to test all nodes), and I just wanted to add my 2 cents :-)
this is certainly something we will have to consider when implementing the method. Depending on the cost and size of the result set I recommend jackrabbit returns either the correct value, an approximate value, or -1.
regards marcel
