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`