Adding index refresh (#33647)
This commit is contained in:
parent
c3a817957d
commit
7e51b960fb
|
@ -211,6 +211,7 @@ public class TransportDeleteForecastAction extends HandledTransportAction<Delete
|
|||
|
||||
QueryBuilder query = QueryBuilders.boolQuery().filter(innerBoolQuery);
|
||||
request.setQuery(query);
|
||||
request.setRefresh(true);
|
||||
return request;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue