[Xapian-discuss] Geolocation

Olly Betts olly at survex.com
Fri Oct 31 01:24:51 GMT 2008


On Tue, Oct 21, 2008 at 09:14:23AM +0200, Andreas Marienborg wrote:
> On Oct 21, 2008, at 7:14 AM, Olly Betts wrote:
> > Incidentally, there's no need to work in integers here - just use
> > Xapian::sortable_serialise() which compactly encodes floating point
> > numbers as strings which sort in the same order as the floating point
> > numbers do.  It's designed for such purposes.
> 
> is that wrapped in the perl-modules?

It wasn't, but I had some time to kill waiting for a plane, so I've
wrapped it and sortable_unserialise() for Perl now, and also the
functions for checking the library version.

Cheers,
    Olly



More information about the Xapian-discuss mailing list