Adding index refresh (#33647)

This commit is contained in:
Benjamin Trent 2018-09-13 10:44:33 -07:00 committed by GitHub
parent c3a817957d
commit 7e51b960fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -211,6 +211,7 @@ public class TransportDeleteForecastAction extends HandledTransportAction<Delete
QueryBuilder query = QueryBuilders.boolQuery().filter(innerBoolQuery);
request.setQuery(query);
request.setRefresh(true);
return request;
}
}