Skip to content

Commit

Permalink
[7.x] [DOCS] Update docs for 'synced flush' and 'SLM' APIs (#972) (#976)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrodewig authored and delvedor committed Sep 28, 2019
1 parent 6d8544d commit 69805d8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions api/api/indices.flush_synced.js
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down
2 changes: 1 addition & 1 deletion docs/reference.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 69805d8

Please sign in to comment.