[Xapian-discuss] Re: Question about sorting using the Java bindings.

Jarrod Roberson jarrod at vertigrated.com
Wed May 30 21:26:14 BST 2007


Olly Betts <olly <at> survex.com> writes:
 
> Looks like Java doesn't wrap the "sort_by_relevance" parameter, and
> sort_bands is just ignored now, so the meaningful option is:
> 
> 	enquire.setSorting(VALUENO, 1)
> 
> Which is the same as enquire.set_sort_by_value(VALUENO) in C++.  The
> sort uses a string comparison.
> 
> Cheers,
>     Olly
> 

I have the sorting by value working, but I can't change the direction.
So is it possible to control the sort order using the Java bindings?





More information about the Xapian-discuss mailing list