[Xapian-discuss] sort by multiple values

Olly Betts olly at survex.com
Tue Nov 15 10:34:39 GMT 2005


On Mon, Nov 14, 2005 at 10:51:35PM -0600, Peter Karman wrote:
> I'm wondering if there is currently a feature to sort by multiple document 
> values. For example, sort first by timestamp, then by URL. I see 
> set_sort_by_value() works for a single value.

There isn't.  The plan is to allow the user to specify a custom search
function by subclassing a functor (like how MatchDecider works).

There are some relevant thoughts in this (closed) bug report:

http://www.xapian.org/cgi-bin/bugzilla/show_bug.cgi?id=57

Cheers,
    Olly



More information about the Xapian-discuss mailing list