Hi! I've gotten quite far with backporting the Lucene based DASL stuff. However, I have one problem, which also applies to the HEAD, I think: The depth of the scope. For some reason, instead of being QueryScope.INFINITY (i.e. Interger.MAX_VALUE), it is 3 when I execute a DASL like this:
<D:searchrequest xmlns:D="DAV:" xmlns:slide="http://jakarta.apache.org/slide/"> <D:basicsearch> <D:select> <D:prop> <D:getcontentlength/> </D:prop> </D:select> <D:from> <D:scope> <D:href>binaries</D:href> <D:depth>INFINITY</D:depth> </D:scope> </D:from> <D:where> <D:not-is-collection/> </D:where> </D:basicsearch> </D:searchrequest> I have no clue where this gets changed... Depths of 0 and 1 work just fine. The scope depth when the BasicQueryScope is constructed is Interger.MAX_VALUE, but when I retrieve the depth in the abstract expression (where the execute happens) like so "query.getScope().getDepth()", it is 3. This means that ultimately, I loose all the results which are deeper than three levels below my scope uri. Since there are only 3 allowed depths, 0,1, and infinity, does the 3 actually mean infinity? If yes, why is QueryScope.INFINITY set to Integer.MAX_VALUE then? Best regards, Max Pfingsthorn Hippo Oosteinde 11 1017WT Amsterdam The Netherlands Tel +31 (0)20 5224466 ------------------------------------------------------------- [EMAIL PROTECTED] / www.hippo.nl -------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]