[Xapian-discuss] set_sort_by_relevance_then_value() sort order when using float

James Aylett james-xapian at tartarus.org
Thu Dec 11 21:14:52 GMT 2008


On Thu, Dec 11, 2008 at 07:57:35PM +0000, Olly Betts wrote:

> > Is it because value(n) is a float?  I found  
> > http://thread.gmane.org/gmane.comp.search.xapian.general/6460/focus=6469 which  
> > indicates that serialise_double() cannot be used for sorting.
> 
> As my reply two messages later says, serialise_double() isn't an
> external API function, but sortable_serialise() is suitable for sorting
> floating point values.

My bad for introducing that in the first place :-/

<thinks...>: GMane with annotations.

J

-- 
/--------------------------------------------------------------------------\
  James Aylett                                                  xapian.org
  james at tartarus.org                               uncertaintydivision.org



More information about the Xapian-discuss mailing list