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