[Xapian-devel] Sort ordering

Simon Litchfield simon at s29.com.au
Mon Aug 23 12:42:41 BST 2010


Using MultiValueSorter, I can sort by key1, key2, relevance; or relevance, key1, key2.

But AFAIK, I can't sort by key1, relevance, key2. Unless I spool out the entire result set or write some C++.

I wonder if we need a new 'sort by' function that accepts any combination of keys and relevance in any order? The function would make it's own optimisations (ie is relevance first or last, etc)





Simon Litchfield
S29.com.au

M  +61-416-027-826
F  +61-2-8569-2377

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20100823/9155acd0/attachment.htm>


More information about the Xapian-devel mailing list