Re: Sort criteria in Search Request

>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

Received on Saturday, 25 August 2001 11:42:54 UTC