}
@Override
public void onResponse(QuerySearchResult querySearchResult) {
Tuple<String, QueryShardRequest> requestTuple = requests.get(requestIdx);
QueryShardRequest request = requestTuple.v2();
querySearchResult.shardTarget(
new SearchShardTarget(requestTuple.v1(), request.index(), request.shardId()));
firstResults.set(requestIdx, querySearchResult);
if (totalOps.incrementAndGet() == expectedOps) {
try {
moveToSecondPhase();
} catch (IOException e) {