W3C home > Mailing lists > Public > www-zig@w3.org > August 2001

Re: Sort criteria in Search Request

From: Ian Ibbotson <ian.ibbotson@k-int.com>
Date: Sat, 25 Aug 2001 18:09:23 +0100
To: Craig Jackson <CRAIGJ@epub.med.IACNET.COM>
Cc: www-zig@w3c.org
Message-Id: <01082518092300.19566@www.k-int.com>
By concatenation you mean encapsulation right? Guess I should have done a 
little more research ;-)

Any idea (in general) how likely I am to find targets out there supporting 
encapsulated sort? Also, any ideas from people having implemented 
encapsulated sort (Origin or Target) what happens to your application state 
models once you have a number of outstanding requests?

Cheers,
Ian.



On Saturday 25 August 2001 17:40, Craig Jackson wrote:
> >Hi All.
> >
> >I'm wondering if there has been any previous discussion covering the
> >possibility of including sort crtiteria within a search request? I'm
> >getting a lot of requests at the moment to provide a mechanism in the java
> >toolkit for programmers to be able to send sort criteria along with the
> >initial search request. I guess much of this is down to the fact that
> > people naturally expect to be able to do something akin to "Select x from
> > y order by z" as a one-shot operation. I've started to code around this
> > at the API level, immediately sending a sort after the search response
> > arrives, but it's a bit clunky.
> >
> >Any thoughts? I'm more than happy to write something a little more
> > detailed (Seems not to be too compilcated at first sight) but wondering
> > what the general consensus out there is?
>
> In general, this sort of thing is supposed to be handled with
> concatenation. Putting the search and sort and present in one concatenated
> PDU.  It avoids an infinite variety of options in basic PDUs, and allows
> the server to optimize the request if it can, and just treat it as three
> PDUs if it cannot.
>
> >Ian Ibbotson
> >Mail: ian.ibbotson@k-int.com
>
> Craig Jackson
> Craig_Jackson@iacnet.com
> The Gale Group
> Burlington, MA, USA

-- 
Ian Ibbotson
Knowledge Integration Ltd - http://www.k-int.com
Sheffield Science Park
Cooper Buildings
Arundel Street
Sheffield
S1 2NS
Tel : +44 (0)114 22 11 813
Mobile: 07968 794 630
Mail: ian.ibbotson@k-int.com
Received on Saturday, 25 August 2001 13:04:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 29 October 2009 06:12:21 GMT