[Xapian-discuss] I need a function set_sort_by_relevance_then_value()

Richard Boulton richard at lemurconsulting.com
Fri May 4 14:54:45 BST 2007


Sungsoo Kim wrote:
> I understand Xapian supports sort_by_relevance() then docid (ascending or descending), or sort_by_value_then_relevance(). But I cannot find sort_by_relevance_then_value() function in the document. In order to get the search result shown above, the function seems to be necessary to me.  Provider A, B, C, D, E is not the name of provider, but the grade of providers, and it is changed from time to time.

I suspect you're using an old version of Xapian: 
Enquire::set_sort_by_relevance_then_value was implemented on Apr 4th 
2006, and is included in Xapian releases from version 0.9.5 onwards.

-- 
Richard



More information about the Xapian-discuss mailing list