[Xapian-discuss] Faster "sort by value"

Arjen van der Meijden acmmailing at tweakers.net
Tue Jun 6 19:50:37 BST 2006


I'll take a look at it somewhere this week.

We probably need to upgrade to 0.9.6 for this? Do you have any idea how 
well that old "0.9.2 zlib"-patch will apply to those sources? Or can you 
create a new one for me?

Btw, the url yields an HTTP 404 Not Found.

Best regards,

Arjen van der Meijden

On 6-6-2006 18:37, Olly Betts wrote:
> I noticed while working on something else that "sort by value" was
> fetching the values in a stupid way such that the document data was also
> being fetched every time a value was!  Assuming I'm right, this patch
> should give a substantial speed boost for anyone using "sort by value":
> 
> http://www.oligarchy.co.uk/xapian/patches/xapian-faster-"sort by value".patch
> 
> I don't have time right now to set up a test database and time it, so if
> you have a large database and use "sort by value", please apply the patch
> and try timing some searches with and without it.
> 
> The patch changes "sort by value" to use the same code as "collapse on a
> value" and "matchdecider" do and the test suite passes with it applied,
> so I'd say it's a very safe patch suitable for use on a production system.
> 
> Cheers,
>     Olly
> 
> _______________________________________________
> Xapian-discuss mailing list
> Xapian-discuss at lists.xapian.org
> http://lists.xapian.org/mailman/listinfo/xapian-discuss
> 



More information about the Xapian-discuss mailing list