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

Michael Henson hensom at gmail.com
Sun Mar 18 19:01:56 GMT 2012


Thanks for looking into it. I've created a ticket for this as well:
http://trac.xapian.org/ticket/590

-- Michael

On Fri, Mar 16, 2012 at 6:16 PM, Olly Betts <olly at survex.com> wrote:

> 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