[Xapian-discuss] Xapian performance and xapian-python

Patrick Oliver Glauner patrick.oliver.glauner at cern.ch
Thu Jun 28 14:08:03 BST 2012


>  Are the results from xapian and solr the same? Same amount? Same max?
Overall amount of results is slightly different (+/- a few thousand). The top 10 ranked results are different.

But Solr's performance depends on RANKED_RESULT_AMOUNT, Xapian's does not in my case.

Patrick

________________________________
From: QE :: Felix Ostmann [ostmann at websuche.de]
Sent: Thursday, June 28, 2012 2:45 PM
To: Xapian Discussion; Patrick Oliver Glauner
Subject: Re: [Xapian-discuss] Xapian performance and xapian-python

2012/6/28 Olly Betts <olly at survex.com<mailto:olly at survex.com>>
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.

Are the results from xapian and solr the same? Same amount? Same max?



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

_______________________________________________
Xapian-discuss mailing list
Xapian-discuss at lists.xapian.org<mailto:Xapian-discuss at lists.xapian.org>
http://lists.xapian.org/mailman/listinfo/xapian-discuss



More information about the Xapian-discuss mailing list