[Xapian-devel] Interested in IR, Getting started with Xapian

Olly Betts olly at survex.com
Mon Mar 12 21:30:19 GMT 2012


On Mon, Mar 12, 2012 at 05:40:49PM +0530, Akshay M S wrote:
> Thanks for the reply. I have a small question -
> 
> > There are a number of optimisations we have which make use of these
> > bounds - in some cases we can even spot that there's no chance of
> > getting another candidate and stop early.
> 
> In the moon OR cheese example, when can this occur? How can you infer that
> there is no chance of getting a better candidate?

Say that we run out of documents which are indexed by "moon", but there
are still some for "cheese".  If the max weight which "cheese" can
return is too low to make it into the result set we are building, we
can just stop.

Cheers,
    Olly



More information about the Xapian-devel mailing list