[Xapian-devel] How the matcher knows when to prune and decay

Matt Chaput matt at whoosh.ca
Wed Mar 3 23:33:10 GMT 2010


On 3/3/2010 6:28 PM, Olly Betts wrote:
> On Tue, Mar 02, 2010 at 10:55:24PM -0500, Matt Chaput wrote:
>> So I'm wondering, how does the matcher know the maximum score of the rest of
>> the postings in a branch?
>
> It asks the subtree for its maximum score, which the subtree calculates
> recursively.

But how can the leaf object reading the posting list know its maximum 
future score?

Thanks,

Matt



More information about the Xapian-devel mailing list