[Xapian-devel] Xapian Ruby bindings do not implement full multi-value-sorting functionality?
Richard Boulton
richard at lemurconsulting.com
Thu Jan 29 09:35:33 GMT 2009
On Thu, Jan 29, 2009 at 09:11:49AM +0100, Lukas Rieder wrote:
> this is a question that could be answered by collaborators of the Ruby
> bindings.
...
> enquire.sort_by_key_then_relevance(sorter)
>
> And it seems that there is no 'sort_by_key_then_relevane' method implented
> in Xapian::Enquire.
> Is there a reason for this? How could it be implemented into the Ruby
> bindings?
Which version of Xapian are you using?
Enquire::set_sort_by_key_then_relevance() was added to the SWIG bindings on
Nov 29th 2007, and included in releases of xapian from 1.0.5 onwards.
I've not checked that it works in the Ruby bindings, but it's certainly
present in the generated xapian_wrap.cc file for Ruby.
--
Richard
More information about the Xapian-devel
mailing list