I believe, your scope should be "/slide/files/docs".
Guido
Jacob Lund wrote:
Hi
I have some problems getting the scope part of my query to work. If I want a search to only search through the /files/docs collection then I set scope to /files/docs/ and the uri in the header to /files/docs (see request below).
Server returns:
23 Sep 2004 12:46:10 - org.apache.slide.common.Domain - WARNING - scope /docs/ is invalid
http-81-Processor23, 23-sep-2004 12:46:10, root, SEARCH, 400 "Bad Request", 16 ms, /files/docs
Client request: SEARCH /files/docs HTTP/1.1 Host: localhost:82
<D:searchrequest xmlns:D="DAV:"> <D:basicsearch> <D:select> <D:allprop/> </D:select> <D:from> <D:scope> <D:href>/files/docs/</D:href> <D:depth>infinity</D:depth> </D:scope> </D:from> <D:where> <SLIDE:propcontains xmlns:SLIDE="http://jakarta.apache.org/slide/"> <D:prop><D:displayname/></D:prop> <D:literal>New</D:literal> </SLIDE:propcontains> </D:where> </D:basicsearch> </D:searchrequest>
--------------------------------------------------------------------- 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]
