From 69805d8393556cb00104a0efbaf5d557e05bc939 Mon Sep 17 00:00:00 2001 From: James Rodewig Date: Sat, 28 Sep 2019 10:19:19 -0400 Subject: [PATCH] [7.x] [DOCS] Update docs for 'synced flush' and 'SLM' APIs (#972) (#976) --- api/api/indices.flush_synced.js | 5 +++++ docs/reference.asciidoc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/api/api/indices.flush_synced.js b/api/api/indices.flush_synced.js index 1168477c3..87190d586 100644 --- a/api/api/indices.flush_synced.js +++ b/api/api/indices.flush_synced.js @@ -38,6 +38,11 @@ function buildIndicesFlushSynced (opts) { 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) { options = options || {} if (typeof options === 'function') { diff --git a/docs/reference.asciidoc b/docs/reference.asciidoc index 81fbb74b8..ba69294ba 100644 --- a/docs/reference.asciidoc +++ b/docs/reference.asciidoc @@ -2497,7 +2497,7 @@ client.indices.flushSynced({ 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*] |=== |`index`