[Zope-CVS] CVS: Products/ZCTextIndex - BaseIndex.py:1.20

Tim Peters tim.one@comcast.net
Mon, 27 May 2002 00:41:06 -0400

Update of /cvs-repository/Products/ZCTextIndex
In directory cvs.zope.org:/tmp/cvs-serv29039

Modified Files:
Log Message:
search_phrase():  cleaned_wids is the same is wids, and it was confusing
to use both after the test to ensure they were the same.

=== Products/ZCTextIndex/BaseIndex.py 1.19 => 1.20 ===
             # At least one wid was OOV:  can't possibly find it.
             return IIBTree()
-        scores = self._search_wids(cleaned_wids)
+        scores = self._search_wids(wids)
         hits = mass_weightedIntersection(scores)
         if not hits:
             return hits