[Xapian-discuss] xapian performance

Arjen van der Meijden acmmailing at tweakers.net
Mon Nov 27 09:39:34 GMT 2006


Olly Betts wrote:
> On Thu, Nov 16, 2006 at 04:12:56PM +0000, Olly Betts wrote:
>> http://www.oligarchy.co.uk/xapian/patches/xapian-experimental-phrase-optimisation-v2.patch
> 
> I was just cleaning this up before applying it, and I noticed that
> there's a typo - I'm swapping element 0 with itself rather than with
> element 1!  This version should perform better in nearly half of the
> cases of 2 term phrases:
> 
> http://www.oligarchy.co.uk/xapian/patches/xapian-experimental-phrase-optimisation-v3.patch

I see very little difference in query times between these two. So your 
typo didn't matter much here.

Arjen



More information about the Xapian-discuss mailing list