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

Re: Sort criteria in Search Request

From: Craig Jackson <CRAIGJ@epub.med.IACNET.COM>
Date: Sat, 25 Aug 2001 11:40:21 -0500 (EST)
To: Ian Ibbotson <ian.ibbotson@k-int.com>
Cc: www-zig@w3c.org, CRAIGJ@epub.med.IACNET.COM
Message-id: <01K7JSVFCPSC93973F@EPUB.IACNET.COM>
>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
The Gale Group
Burlington, MA, USA
Received on Saturday, 25 August 2001 11:42:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:26:03 UTC