chunkize index[query] for large queries #117
Labels
difficulty medium
Medium issue: required good gensim understanding & python skills
feature
Issue described a new feature
wishlist
Feature request
... the same way chunking of the index itself is done, in
for doc in index:
akaSimilarityABC.__iter__
.In other words, don't construct the
#query_docs x #index_docs
result matrix at once, but chunkizequery_docs
and yield the result rows iteratively, inSimilarityABC.__getitem__
.Test thoroughly, because some code may depend on
__getitem__
returning a matrix, not a generator.The text was updated successfully, but these errors were encountered: