Stefan Burkard wrote:

hi sliders

some search-questions:

1. how can i do a search for substrings?
i saw in the webdav-specs at http://greenbytes.de/tech/webdav/draft-reschke-webdav-search-latest.html that there are two operators "like" and "contains" whose sound like this...
can anybode give me an example how to use these?

From the spec:

<D:where>
  <D:like caseless="yes">
    <D:prop><D:getcontenttype/></D:prop>
    <D:literal>image/%</D:literal>
  </D:like>
</D:where>

However, last time I checked the "like" comparison wasn't supported by Slide. Also, it seemed to be based on an older draft of the DASL spec, some attributes have different names, and only string comparisons are supported, even getcontentlength is treated as an string in comparisons.

"contains" searches the contents of the resource. Again, last time I checked, Slide implementation loaded the whole file in memory to scan it, so I bet it's very slow.

Carlos

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



Reply via email to