Displaying 1 result from an estimated 1 matches for "sort_by_key_then_relev".
2009 Jan 29
1
Xapian Ruby bindings do not implement full multi-value-sorting functionality?
...ound with the Xapian::MultiValueSorter class. I've set
everything up 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 implemen...