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

Guido van Rossum guido@python.org
Fri, 10 May 2002 21:02:56 -0400


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

Modified Files:
      Tag: TextIndexDS9-branch
	IIndex.py 
Log Message:
Updated the interface.


=== Products/ZCTextIndex/IIndex.py 1.1.2.5 => 1.1.2.6 ===
         """
 
+    def search_phrase(phrase):
+        """Execute a search on a phrase given as a string.
+
+        Return an IIBucket.
+        """
+
     def query_weight(terms):
         """Return the weight for a set of query terms.
 
@@ -32,3 +38,9 @@
         although not terms with a not.  If a term appears more than
         once in a query, it should appear more than once in terms.
         """
+
+    def index_doc(docid, text):
+        "XXX"
+
+    def unindex_doc(docid):
+        "XXX"