[7.x] [DOCS] Update docs for 'synced flush' and 'SLM' APIs (#972) (#976)

This commit is contained in:
James Rodewig
2019-09-28 10:19:19 -04:00
committed by Tomas Della Vedova
parent 6d8544dff2
commit 69805d8393
2 changed files with 6 additions and 1 deletions

View File

@ -38,6 +38,11 @@ function buildIndicesFlushSynced (opts) {
filterPath: 'filter_path' filterPath: 'filter_path'
} }
/**
* Perform a indices.flush_synced request
* Performs a synced flush operation on one or more indices.
* https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush-api.html
*/
return function indicesFlushSynced (params, options, callback) { return function indicesFlushSynced (params, options, callback) {
options = options || {} options = options || {}
if (typeof options === 'function') { if (typeof options === 'function') {

View File

@ -2497,7 +2497,7 @@ client.indices.flushSynced({
expand_wildcards: 'open' | 'closed' | 'none' | 'all' expand_wildcards: 'open' | 'closed' | 'none' | 'all'
}) })
---- ----
link:{ref}/indices-flush.html#synced-flush-api[Reference] link:{ref}/indices-synced-flush-api.html[Reference]
[cols=2*] [cols=2*]
|=== |===
|`index` |`index`