make "index all documents" a paralleled operation