A quick follow-up, when working with large number of files the number of
hits when doing a search could be large. As I understand it, it is possible
to limit the number of responses by using the DAV:limit XML element from the
DASL specification. However, the specification also states that the server
may disregard the requested limit. So my questions are: Does Slide support
DAV:limit? And will it work when using the "use-rdbms-expression-factory"
parameter? And, finally, am I using correct syntax in the example below?

<D:searchrequest xmlns:D =\"DAV:\">
  <D:basicsearch>
    <D:select>
      <D:allprop/>
    </D:select>
    <D:from> 
      <D:scope>
        <D:href></D:href>
      </D:scope>
    </D:from>
    <D:where>
      <D:and>
        <D:eq><D:prop><D:fileextension/></D:prop>
        <D:literal>xml</D:literal></D:eq>
      </D:and>
    </D:where>
    <D:limit>
      <D:nresults>
      10
      </D:nresults>
    </D:limit>
  </D:basicsearch>
</D:searchrequest>

The reason for my questions is that I can't get it to work and I can't find
any references to this. Is there perhaps another way to limit the number of
search hits?

Regards,
Pontus

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

Reply via email to