On Sun, Jul 15, 2012 at 06:50:37PM +0400, Michael Uvarov
wrote:> What does the operation
> Xapian::Enquire::set_sort_by_relevance_then_key(sorter, true)? What
> does the second parameter mean?
> Is it sort all results in reversed order or just invert the
"sorter"?
It just inverts the sorter, so you will still get results ordered such
that those with the highest relevance scores come first.
I will clarify the API docs for this.
> Is there a way to reverse the relevance order?
No. It doesn't make a lot of sense to do that - for something like date
order, sometimes you might want the oldest results and sometimes the
newest, but "higher relevance score" is inherently better.
Cheers,
Olly