[ZODB-Dev] (Un)Index questions

Andrew Dalke Andrew Dalke" <dalke@dalkescientific.com
Fri, 12 Oct 2001 02:02:19 -0600


Hello again,

  Minor question.  I'm looking through SearchIndex/Index.py
and see in _apply_index

   w, r = weightedUnion(r, set)

The value of 'w' doesn't seem to do anything.

Then in UnIndex.py's _apply_index I see

  r = union(r, set)

So one case uses 'weightedUnion' and the other uses 'union'.
Could someone tell me why there's a difference?  My intuition
tells me there shouldn't be one.

BTW, this is all in Zope 2.4.1.

                    Andrew
                    dalke@dalkescientific.com