[Xesam] Sorting API to be more flexible

Arun Raghavan arunisgod at gmail.com
Mon Jun 30 14:36:59 PDT 2008


On Tue, Jul 1, 2008 at 2:46 AM, Mikkel Kamstrup Erlandsen
<mikkel.kamstrup at gmail.com> wrote:
[...]
> That is indeed a good use case. However I also think that it will "do
> the right thing" by default without any needs to specify the sort
> order, see http://xesam.org/main/XesamSearchAPI#sorting
>
> As far as I can tell Lucene and SQLite should be able to do it very
> easily. Xapian can do it too, but it will require some work (although
> I am a bit unsure of how much).
>
> Looking at that paragraph I figure there is something wrong with the
> example in there. The numbers (int and float) are clearly ordered in
> ascending order while the example states that it is in descending...
> We should do something about this. How have people implemented this -
> if anybody has done so yet?

Ditto on Strings, BTW, at least as per my understanding of 'ascending'
w.r.t. string sorting.

Regards,
-- 
Arun Raghavan
(http://nemesis.accosted.net)
v2sw5Chw4+5ln4pr6$OFck2ma4+9u8w3+1!m?l7+9GSCKi056
e6+9i4b8/9HTAen4+5g4/8APa2Xs8r1/2p5-8 hackerkey.com


More information about the Xesam mailing list