def index_doc(self, docid, text):
     count = BaseIndex.index_doc(self, docid, text)
     self._change_doc_len(count)
     return count
Exemple #2
0
 def index_doc(self, docid, text):
     count = BaseIndex.index_doc(self, docid, text)
     self._change_doc_len(count)
     return count
 def index_doc(self, docid, text):
     count = BaseIndex.index_doc(self, docid, text)
     self._totaldoclen += count
     return count