[Xapian-devel] Dealing with negative weights
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
> > 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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Xapian-devel