Skip to content

Commit 69805d8

Browse files
jrodewigdelvedor
authored andcommitted
[7.x] [DOCS] Update docs for 'synced flush' and 'SLM' APIs (#972) (#976)
1 parent 6d8544d commit 69805d8

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

api/api/indices.flush_synced.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ function buildIndicesFlushSynced (opts) {
3838
filterPath: 'filter_path'
3939
}
4040

41+
/**
42+
* Perform a indices.flush_synced request
43+
* Performs a synced flush operation on one or more indices.
44+
* https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush-api.html
45+
*/
4146
return function indicesFlushSynced (params, options, callback) {
4247
options = options || {}
4348
if (typeof options === 'function') {

docs/reference.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2497,7 +2497,7 @@ client.indices.flushSynced({
24972497
expand_wildcards: 'open' | 'closed' | 'none' | 'all'
24982498
})
24992499
----
2500-
link:{ref}/indices-flush.html#synced-flush-api[Reference]
2500+
link:{ref}/indices-synced-flush-api.html[Reference]
25012501
[cols=2*]
25022502
|===
25032503
|`index`

0 commit comments

Comments
 (0)