oops - more detail:

Query and url:
=====
String query = "<D:searchrequest xmlns:D=\"DAV:\">" +
"<D:basicsearch>" +
"<D:select>" +
"<D:allprop/>" +

"</D:select>" +
"<D:from>" +
"           <D:scope>" +
"              <D:href>/slide</D:href>" +
"               <D:depth>infinity</D:depth>" +
"           </D:scope>" +
"       </D:from>" +
"       <D:where>" +
"           <D:and>" +
"           <D:eq>" +
"               <D:prop><D:displayname/></D:prop>" +
"               <D:literal>test4.tif</D:literal>" +
"           </D:eq>" +
"           </D:and>" +
"       </D:where>" +
"   </D:basicsearch>" +
"</D:searchrequest>";
HttpURL url = new HttpURL("http://localhost:8080/slide";)
======

There is both a http://localhost:8080/slide/files store (default 'root' store) and an 
http://localhost:8080/slide/store2 store. The result set I get back point to 
/slide/store2.  Searching only with an href:/slide/files returns a correct result for 
that store, searching just href:/slide/store2 returns a correct result for store2, but 
when searching href:/slide it only returns /slide/store2.
-D


> -----Original Message-----
> From: Darren Hartford 
> Sent: Wednesday, October 06, 2004 4:01 PM
> To: Slide Users Mailing List
> Subject: multi-store searching
> 
> 
> Multi-store configuration working good now, writing up the 
> documentation to put up on the Wiki.
> 
> For the next challenge, doing a SearchMethod when specifying 
> the root "/" as the search location, with depth of infinity, 
> and specifying a 'displayname' for a file that is in both 
> stores, seems to do cross-searching across both stores as I 
> see it making multiple Query calls.
> 
> However, it looks like it returns only the fastest store's 
> results (which happens to be in my second store, not the 
> root.  The second store has a much smaller number of files) 
> and none of the other stores results. Has anyone else seen 
> similar behavior, or is this expected behavior?
> 
> -D
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to