Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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