Skip to content

Commit

Permalink
[DOCS] Update docs for 'synced flush' and 'SLM' APIs (#972)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrodewig authored and delvedor committed Sep 26, 2019
1 parent 7fef37c commit c13d7c7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 14 deletions.
2 changes: 1 addition & 1 deletion api/api/indices.flush_synced.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function buildIndicesFlushSynced (opts) {
/**
* 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-flush.html#synced-flush-api
* https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush-api.html
*/
return function indicesFlushSynced (params, options, callback) {
options = options || {}
Expand Down
2 changes: 1 addition & 1 deletion api/api/slm.get_stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function buildSlmGetStats (opts) {

/**
* Perform a slm.get_stats request
* https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api.html
* https://www.elastic.co/guide/en/elasticsearch/reference/master/slm-get-stats.html
*/
return function slmGetStats (params, options, callback) {
options = options || {}
Expand Down
2 changes: 1 addition & 1 deletion docs/reference.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -2617,7 +2617,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
11 changes: 0 additions & 11 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,6 @@ declare class Client extends EventEmitter {
startDataFrameTransform: ApiMethod<RequestParams.DataFrameStartDataFrameTransform>
stop_data_frame_transform: ApiMethod<RequestParams.DataFrameStopDataFrameTransform>
stopDataFrameTransform: ApiMethod<RequestParams.DataFrameStopDataFrameTransform>
update_data_frame_transform: ApiMethod<RequestParams.DataFrameUpdateDataFrameTransform>
updateDataFrameTransform: ApiMethod<RequestParams.DataFrameUpdateDataFrameTransform>
}
dataFrame: {
delete_data_frame_transform: ApiMethod<RequestParams.DataFrameDeleteDataFrameTransform>
Expand All @@ -213,8 +211,6 @@ declare class Client extends EventEmitter {
startDataFrameTransform: ApiMethod<RequestParams.DataFrameStartDataFrameTransform>
stop_data_frame_transform: ApiMethod<RequestParams.DataFrameStopDataFrameTransform>
stopDataFrameTransform: ApiMethod<RequestParams.DataFrameStopDataFrameTransform>
update_data_frame_transform: ApiMethod<RequestParams.DataFrameUpdateDataFrameTransform>
updateDataFrameTransform: ApiMethod<RequestParams.DataFrameUpdateDataFrameTransform>
}
delete: ApiMethod<RequestParams.Delete>
delete_by_query: ApiMethod<RequestParams.DeleteByQuery>
Expand Down Expand Up @@ -261,7 +257,6 @@ declare class Client extends EventEmitter {
analyze: ApiMethod<RequestParams.IndicesAnalyze>
clear_cache: ApiMethod<RequestParams.IndicesClearCache>
clearCache: ApiMethod<RequestParams.IndicesClearCache>
clone: ApiMethod<RequestParams.IndicesClone>
close: ApiMethod<RequestParams.IndicesClose>
create: ApiMethod<RequestParams.IndicesCreate>
delete: ApiMethod<RequestParams.IndicesDelete>
Expand Down Expand Up @@ -373,8 +368,6 @@ declare class Client extends EventEmitter {
deleteJob: ApiMethod<RequestParams.MlDeleteJob>
delete_model_snapshot: ApiMethod<RequestParams.MlDeleteModelSnapshot>
deleteModelSnapshot: ApiMethod<RequestParams.MlDeleteModelSnapshot>
estimate_memory_usage: ApiMethod<RequestParams.MlEstimateMemoryUsage>
estimateMemoryUsage: ApiMethod<RequestParams.MlEstimateMemoryUsage>
evaluate_data_frame: ApiMethod<RequestParams.MlEvaluateDataFrame>
evaluateDataFrame: ApiMethod<RequestParams.MlEvaluateDataFrame>
find_file_structure: ApiMethod<RequestParams.MlFindFileStructure>
Expand Down Expand Up @@ -569,14 +562,10 @@ declare class Client extends EventEmitter {
executeLifecycle: ApiMethod<RequestParams.SlmExecuteLifecycle>
get_lifecycle: ApiMethod<RequestParams.SlmGetLifecycle>
getLifecycle: ApiMethod<RequestParams.SlmGetLifecycle>
get_stats: ApiMethod<RequestParams.SlmGetStats>
getStats: ApiMethod<RequestParams.SlmGetStats>
put_lifecycle: ApiMethod<RequestParams.SlmPutLifecycle>
putLifecycle: ApiMethod<RequestParams.SlmPutLifecycle>
}
snapshot: {
cleanup_repository: ApiMethod<RequestParams.SnapshotCleanupRepository>
cleanupRepository: ApiMethod<RequestParams.SnapshotCleanupRepository>
create: ApiMethod<RequestParams.SnapshotCreate>
create_repository: ApiMethod<RequestParams.SnapshotCreateRepository>
createRepository: ApiMethod<RequestParams.SnapshotCreateRepository>
Expand Down

0 comments on commit c13d7c7

Please sign in to comment.