I would create a new index with name as hashkey and use .getBatch function. It takes an array of ids (I believe 50 ids is the size limit).
name
.getBatch