From c13d7c78477eb9a2fc11b08ecfb17a71d8f635d0 Mon Sep 17 00:00:00 2001 From: James Rodewig Date: Thu, 26 Sep 2019 14:14:38 -0400 Subject: [PATCH] [DOCS] Update docs for 'synced flush' and 'SLM' APIs (#972) --- api/api/indices.flush_synced.js | 2 +- api/api/slm.get_stats.js | 2 +- docs/reference.asciidoc | 2 +- index.d.ts | 11 ----------- 4 files changed, 3 insertions(+), 14 deletions(-) diff --git a/api/api/indices.flush_synced.js b/api/api/indices.flush_synced.js index cdbcebdfa..bd0ea4d70 100644 --- a/api/api/indices.flush_synced.js +++ b/api/api/indices.flush_synced.js @@ -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 || {} diff --git a/api/api/slm.get_stats.js b/api/api/slm.get_stats.js index 209a322da..07369f451 100644 --- a/api/api/slm.get_stats.js +++ b/api/api/slm.get_stats.js @@ -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 || {} diff --git a/docs/reference.asciidoc b/docs/reference.asciidoc index dcc00ee50..fd2a82f56 100644 --- a/docs/reference.asciidoc +++ b/docs/reference.asciidoc @@ -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` diff --git a/index.d.ts b/index.d.ts index 3d966fba2..1357bb2ae 100644 --- a/index.d.ts +++ b/index.d.ts @@ -195,8 +195,6 @@ declare class Client extends EventEmitter { startDataFrameTransform: ApiMethod stop_data_frame_transform: ApiMethod stopDataFrameTransform: ApiMethod - update_data_frame_transform: ApiMethod - updateDataFrameTransform: ApiMethod } dataFrame: { delete_data_frame_transform: ApiMethod @@ -213,8 +211,6 @@ declare class Client extends EventEmitter { startDataFrameTransform: ApiMethod stop_data_frame_transform: ApiMethod stopDataFrameTransform: ApiMethod - update_data_frame_transform: ApiMethod - updateDataFrameTransform: ApiMethod } delete: ApiMethod delete_by_query: ApiMethod @@ -261,7 +257,6 @@ declare class Client extends EventEmitter { analyze: ApiMethod clear_cache: ApiMethod clearCache: ApiMethod - clone: ApiMethod close: ApiMethod create: ApiMethod delete: ApiMethod @@ -373,8 +368,6 @@ declare class Client extends EventEmitter { deleteJob: ApiMethod delete_model_snapshot: ApiMethod deleteModelSnapshot: ApiMethod - estimate_memory_usage: ApiMethod - estimateMemoryUsage: ApiMethod evaluate_data_frame: ApiMethod evaluateDataFrame: ApiMethod find_file_structure: ApiMethod @@ -569,14 +562,10 @@ declare class Client extends EventEmitter { executeLifecycle: ApiMethod get_lifecycle: ApiMethod getLifecycle: ApiMethod - get_stats: ApiMethod - getStats: ApiMethod put_lifecycle: ApiMethod putLifecycle: ApiMethod } snapshot: { - cleanup_repository: ApiMethod - cleanupRepository: ApiMethod create: ApiMethod create_repository: ApiMethod createRepository: ApiMethod