From 063ed1b0ced32bab2b0951dd3f76714a21a76cfb Mon Sep 17 00:00:00 2001 From: lcawl Date: Fri, 18 Oct 2024 00:00:51 -0700 Subject: [PATCH] Revert test updates --- output/openapi/elasticsearch-openapi.json | 3 --- output/openapi/elasticsearch-serverless-openapi.json | 3 --- output/schema/schema.json | 12 +++++------- specification/_doc_ids/table.csv | 1 - .../_global/exists/DocumentExistsRequest.ts | 4 ++-- specification/ml/put_job/MlPutJobRequest.ts | 1 - 6 files changed, 7 insertions(+), 17 deletions(-) diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index d87c074ebf..311faa0237 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -17530,9 +17530,6 @@ ], "summary": "Create an anomaly detection job", "description": "If you include a `datafeed_config`, you must have read index privileges on the source index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/machine-learning/current/ml-ad-run-jobs.html" - }, "operationId": "ml-put-job", "parameters": [ { diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 1329c53f81..b943b079be 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -10503,9 +10503,6 @@ ], "summary": "Create an anomaly detection job", "description": "If you include a `datafeed_config`, you must have read index privileges on the source index.", - "externalDocs": { - "url": "https://www.elastic.co/guide/en/machine-learning/current/ml-ad-run-jobs.html" - }, "operationId": "ml-put-job", "parameters": [ { diff --git a/output/schema/schema.json b/output/schema/schema.json index 1702bf508b..f1c3fdf046 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -11707,8 +11707,6 @@ "description": "Create an anomaly detection job.\nIf you include a `datafeed_config`, you must have read index privileges on the source index.", "docTag": "ml anomaly", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html", - "extDocId": "ml-run-job", - "extDocUrl": "https://www.elastic.co/guide/en/machine-learning/{branch}/ml-ad-run-jobs.html", "name": "ml.put_job", "privileges": { "cluster": [ @@ -22859,8 +22857,8 @@ }, { "description": "If `true`, the request is real-time as opposed to near-real-time.", - "extDocId": "realtime", - "extDocUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/docs-get.html#realtime", + "docId": "realtime", + "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/docs-get.html#realtime", "name": "realtime", "required": false, "serverDefault": true, @@ -22887,8 +22885,8 @@ }, { "description": "Target the specified primary shard.", - "extDocId": "routing", - "extDocUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/docs-get.html#get-routing", + "docId": "routing", + "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/docs-get.html#get-routing", "name": "routing", "required": false, "type": { @@ -168670,7 +168668,7 @@ } ], "query": [], - "specLocation": "ml/put_job/MlPutJobRequest.ts#L30-L114" + "specLocation": "ml/put_job/MlPutJobRequest.ts#L30-L113" }, { "kind": "response", diff --git a/specification/_doc_ids/table.csv b/specification/_doc_ids/table.csv index c6084ab410..ca10e4db29 100644 --- a/specification/_doc_ids/table.csv +++ b/specification/_doc_ids/table.csv @@ -311,7 +311,6 @@ ml-regression-loss,https://www.elastic.co/guide/en/machine-learning/{branch}/dfa ml-regression,https://www.elastic.co/guide/en/machine-learning/{branch}/ml-dfa-regression.html ml-reset-job,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-reset-job.html ml-revert-snapshot,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-revert-snapshot.html -ml-run-job,https://www.elastic.co/guide/en/machine-learning/{branch}/ml-ad-run-jobs.html ml-set-upgrade-mode,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-set-upgrade-mode.html ml-settings,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-settings.html ml-start-datafeed,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/ml-start-datafeed.html diff --git a/specification/_global/exists/DocumentExistsRequest.ts b/specification/_global/exists/DocumentExistsRequest.ts index 627373258c..836d75e961 100644 --- a/specification/_global/exists/DocumentExistsRequest.ts +++ b/specification/_global/exists/DocumentExistsRequest.ts @@ -57,7 +57,7 @@ export interface Request extends RequestBase { /** * If `true`, the request is real-time as opposed to near-real-time. * @server_default true - * @ext_doc_id realtime + * @doc_id realtime */ realtime?: boolean /** @@ -67,7 +67,7 @@ export interface Request extends RequestBase { refresh?: boolean /** * Target the specified primary shard. - * @ext_doc_id routing + * @doc_id routing */ routing?: Routing /** diff --git a/specification/ml/put_job/MlPutJobRequest.ts b/specification/ml/put_job/MlPutJobRequest.ts index 927b5b6036..e2a79ae999 100644 --- a/specification/ml/put_job/MlPutJobRequest.ts +++ b/specification/ml/put_job/MlPutJobRequest.ts @@ -36,7 +36,6 @@ import { Duration } from '@_types/Time' * @index_privileges read * @cluster_privileges manage_ml * @doc_tag ml anomaly - * @ext_doc_id ml-run-job */ export interface Request extends RequestBase { path_parts: {