[Xapian-discuss] Xapian performance and xapian-python

Olly Betts olly at survex.com
Thu Jun 28 13:33:12 BST 2012


On Thu, Jun 28, 2012 at 11:50:56AM +0000, Patrick Oliver Glauner wrote:
> But I would like to refer to my original third question which is really important for us:
> > Question 3
> >How come that the Xapian time consumption is almost independent from
> >RANKED_RESULT_AMOUNT?
> > If I increase it to 10000, the wall time is still nearly the same.

I don't know what's going on yet, so I can't really answer this.  If
that patch had slashed the time taken, I could have told you why...

I'm very surprised if it doesn't make a difference in a case like this
- are you totally sure you're actually testing the patched version?

> Is this the way Xapian is supposed to behave? In most of our use cases
> RANKED_RESULT_AMOUNT is quite small (<100) and we need to get these
> ranked results as fast as possible.

Asking for fewer results means less work, so should indeed be faster.
How much so depends on the documents, the query, and other Enquire
settings.

Profile data would certainly be useful.

Cheers,
    Olly



More information about the Xapian-discuss mailing list