if this code is reached, `bulkRequest.requests` has already been iterated before to fill the `indices` set and thus cannot be null