[Xapian-discuss] sort by value fails
Sven Kummer
Dr.BYTE at web.de
Thu Sep 11 14:57:34 BST 2008
thank you! can you give me some hints where these code parts are located?
i tried to find it via the code browser (http://trac.xapian.org/browser/trunk/search-xapian/Xapian) but i didn't find it yet.
James Aylett <james-xapian at tartarus.org> schrieb am 11.09.2008 15:49:47:
> On Thu, Sep 11, 2008 at 03:44:35PM +0200, Dr.BYTE at web.de wrote:
>
> > thank you for your reply. if i see correctly, i will have to write a
> > serializer method which converts è to e and Ö to Oe and so far.
> > is it possible, that sort by value cannot sort floats correctly,
> > too? i never workt with C, so i dont know how memcmp compares
> > floats.
>
> You want to serialise floats as well. There's a
> serialise_double/unserialise_double pair in Xapian, but I believe it's
> not accessible externally. However you could reuse the code.
>
> J
>
> --
> /--------------------------------------------------------------------------\
> James Aylett xapian.org
> james at tartarus.org uncertaintydivision.org
>
> _______________________________________________
> Xapian-discuss mailing list
> Xapian-discuss at lists.xapian.org
> http://lists.xapian.org/mailman/listinfo/xapian-discuss
>
________________________________________________________________________
Schon gehört? Bei WEB.DE gibt' s viele kostenlose Spiele:
http://games.entertainment.web.de/de/entertainment/games/free/index.html
More information about the Xapian-discuss
mailing list