[Xapian-devel] Dealing with negative weights

Aarsh Shah aarshkshah1992 at gmail.com
Sat Jun 22 13:48:44 BST 2013

I'll give it a try and let you know. I think it can be done.


On Sat, Jun 22, 2013 at 4:41 PM, Olly Betts <olly at survex.com> wrote:

> On Sat, Jun 22, 2013 at 12:41:52PM +0530, Aarsh Shah wrote:
> > I was adding the calculations for a lower bound to get_sumpart() (DLH has
> > no term independent component) when I realized that the same lower bound
> > will be calculated for each term-docment pair that get_sumpart is called
> > pair which basically reduces efficiency. How do I calculate the lower
> bound
> > for a term only once and then use it ?
> Can you calculate it in the init() method of your subclass and store it
> in a member variable?
> Cheers,
>     Olly
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20130622/bd28d994/attachment.html>

More information about the Xapian-devel mailing list