Does anyone have a code example utilizing the SearchMethod with the
Slide Client API?  Looking at the source code it doesn't appear that
SearchMethod has been implemented.  The response below leads me to
believe the BasicSearch has been implemented on the server.  Does
anybody know of a cient API that currently implements SEARCH?



-----Original Message-----
From: Wallmer, Martin [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 23, 2003 3:55 AM
To: 'Slide Users Mailing List'
Subject: RE: BasicSearch

Hi,

BasicSearch works in the current slide. You could use the BasicClient to
try
it. You may find the BasicClient here:
http://developer.softwareag.com/tamino/download.htm#webdav

set Header something like: (content length will be adjusted
automatically)

SEARCH /slide HTTP/1.1 
Host: localhost:8080
Content-type: text/xml; charset="utf-8" 
Content-length: xxx

set the content to something like

<?xml version="1.0" encoding="UTF-8"?>
<searchrequest xmlns:D="DAV:">
<D:basicsearch>
<D:select>
  <D:prop>
    <D:displayname/>
    <D:getcontentlength/>
    <D:getcontenttype/>
</D:prop>
</D:select>
<D:from>
  <D:scope>
    <D:href>mycoll/</D:href>
  </D:scope>
</D:from>
<D:where>
  <D:gt>
    <D:prop>
      <D:getcontentlength/>
    </D:prop>
    <D:literal>10000</D:literal>
  </D:gt>
</D:where>
</D:basicsearch>
</searchrequest>

You'll get all documents that have a contentlength > 10000 bytes within
the
collection "mycoll".


Best regards,
Martin

-----Original Message-----
From: Ben Switzer [mailto:[EMAIL PROTECTED]
Sent: Montag, 21. Juli 2003 03:23
To: [EMAIL PROTECTED]
Subject: BasicSearch



Can someone tell if the BasicSearch implementation works.  If so, can
you include a how to perform a simple search.

Thanks,
Ben


---------------------------------------------------------------------
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