Can you call `assertSearchResponse` on the DSL and API responses? If there are different hits, this will help make sure this is not because of failed shards.