Commit b975f42a authored by Guido van Rossum's avatar Guido van Rossum

Report Lexicon statistics after bulk indexing.

parent c470e7d5
......@@ -303,6 +303,9 @@ class Indexer:
self.updatefolder(f, f.listmessages())
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment