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

Jeremy Hylton jeremy@zope.com
Tue, 30 Apr 2002 18:27:26 -0400


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

Modified Files:
      Tag: TextIndexDS9-branch
	IIndex.py 
Log Message:
Define query_weight().


=== Products/ZCTextIndex/IIndex.py 1.1.2.1 => 1.1.2.2 ===
         Return an IIBucket.
         """
+
+    def query_weight(terms):
+        """Return the weight for a set of query terms.
+
+        'terms' is a sequence of all terms included in the query,
+        although not terms with a not.  If a term appears more than
+        once in a query, it should appear more than once in terms.
+        """
+