[Xapian-discuss] MSetIterator::get_percent Shows Increased Values When Using Query::OP_FILTER

Olly Betts olly at survex.com
Fri Mar 16 22:16:36 GMT 2012


On Fri, Mar 16, 2012 at 04:04:58PM -0400, Michael Henson wrote:
> Query: Xapian::Query((cold OR kids))
> 1 - 0.405465108108 - 50 - Ome, cold
> 2 - 0.405465108108 - 50 - Ome, kids
> 
> Query: Xapian::Query(((cold OR kids) FILTER Ome))
> 1 - 0.405465108108 - 100 - Ome, cold
> 2 - 0.405465108108 - 100 - Ome, kids
> 
> Is this the expected behavior here, or have I encountered a bug?

It's a bug, probably in counting the weighted leaf queries.  I'll take
a look, but it would be useful to open a ticket.

Cheers,
    Olly



More information about the Xapian-discuss mailing list