[Zope-CVS] CVS: Products/ZCTextIndex/tests - mhindex.py:1.3

Guido van Rossum guido@python.org
Wed, 15 May 2002 11:39:30 -0400


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

Modified Files:
	mhindex.py 
Log Message:
Report Lexicon statistics after bulk indexing.


=== Products/ZCTextIndex/tests/mhindex.py 1.2 => 1.3 ===
             print "Total", len(self.docpaths)
         self.pack()
+        print "Indexed", self.index.lexicon._nbytes, "bytes and",
+        print self.index.lexicon._nwords, "words;",
+        print len(self.index.lexicon._words), "unique words."
 
     def updatefolder(self, f, msgs):
         done = 0