Displaying 1 result from an estimated 1 matches for "sort_by_key_then_relevane".
Did you mean:
sort_by_key_then_relevance
2009 Jan 29
1
Xapian Ruby bindings do not implement full multi-value-sorting functionality?
...and then I tried following on an instance of Xapian::Enquire:
:
enquire = Xapian::Enquire.new(database)
enquire.query = options[:query]
:
sorter = Xapian::MultiValueSorter.new
sorter.add(0, true)
sorter.add(1, true)
:
enquire.sort_by_key_then_relevance(sorter)
:
And it seems that there is no 'sort_by_key_then_relevane' method implented
in Xapian::Enquire.
The documentation tells me:
http://www.xapian.org/docs/apidoc/html/classXapian_1_1Enquire.html#7c6c0c1f66bdeefbd09a0575584ba9b9
Is there a reason for this? How could it be implemented into the Ruby
bindings?
I've read the HACKING document that comes w...