[Zope-CVS] CVS: Products/ZCTextIndex - IIndex.py:1.4

Tim Peters tim.one@comcast.net
Fri, 17 May 2002 02:06:05 -0400

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

Modified Files:
Log Message:
Documented that .search() has changed.

=== Products/ZCTextIndex/IIndex.py 1.3 => 1.4 ===
         """Execute a search on a single term given as a string.
-        Return an IIBucket.
+        Return an IIBucket mapping docid to score, or None if all docs
+        match due to the lexicon returning no wids for the term (e.g.,
+        if the term is entirely composed of stopwords).
     def search_phrase(phrase):