2017-08-23 17:03:14 -04:00
|
|
|
|
2019-09-05 10:11:25 -04:00
|
|
|
[source,console]
|
2017-08-23 17:03:14 -04:00
|
|
|
--------------------------------------------------
|
|
|
|
POST _flush/synced
|
|
|
|
--------------------------------------------------
|
2020-01-13 10:58:29 -05:00
|
|
|
// TEST[skip: will fail as synced flush is deprecated]
|
2017-08-23 17:03:14 -04:00
|
|
|
|
|
|
|
When you perform a synced flush, check the response to make sure there are
|
|
|
|
no failures. Synced flush operations that fail due to pending indexing
|
|
|
|
operations are listed in the response body, although the request itself
|
|
|
|
still returns a 200 OK status. If there are failures, reissue the request.
|
2020-01-13 10:58:29 -05:00
|
|
|
|
|
|
|
Note that synced flush is deprecated and will be removed in 8.0. A flush
|
|
|
|
has the same effect as a synced flush on Elasticsearch 7.6 or later.
|