From 02954c32aa8ba66fd068af66b8bda6310a0451ea Mon Sep 17 00:00:00 2001 From: Vladyslav Prodan Date: Thu, 2 Dec 2021 22:48:40 +0200 Subject: [PATCH 1/3] Expose the error_trace parameter for completion --- .../server/lib/spec_definitions/json/generated/search.json | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/search.json b/src/plugins/console/server/lib/spec_definitions/json/generated/search.json index f5e3a0041c7a6..e6fcf8ae54761 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/search.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/search.json @@ -12,6 +12,7 @@ "explain": "__flag__", "stored_fields": [], "docvalue_fields": [], + "error_trace": "true", "from": "0", "ignore_unavailable": "__flag__", "ignore_throttled": "__flag__", From ed9e288f678fb07b9b68864c9f3b51783399702e Mon Sep 17 00:00:00 2001 From: Vladyslav Prodan Date: Mon, 6 Dec 2021 17:55:00 +0200 Subject: [PATCH 2/3] Auto-completion wrongly suggesting size field --- .../console/server/lib/spec_definitions/js/aggregations.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/plugins/console/server/lib/spec_definitions/js/aggregations.ts b/src/plugins/console/server/lib/spec_definitions/js/aggregations.ts index dfa263f2f1e65..b4d5a9e1f95b4 100644 --- a/src/plugins/console/server/lib/spec_definitions/js/aggregations.ts +++ b/src/plugins/console/server/lib/spec_definitions/js/aggregations.ts @@ -134,7 +134,6 @@ const rules = { size: 10, }, field: '{field}', - size: 10, shard_size: 10, order: { __template: { From c16f487226faed4132b0b2f6b3aaec1202f230b1 Mon Sep 17 00:00:00 2001 From: Vladyslav Prodan Date: Mon, 6 Dec 2021 17:58:27 +0200 Subject: [PATCH 3/3] Auto-completion wrongly suggesting size field --- .../server/lib/spec_definitions/json/generated/search.json | 1 - 1 file changed, 1 deletion(-) diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/search.json b/src/plugins/console/server/lib/spec_definitions/json/generated/search.json index e6fcf8ae54761..f5e3a0041c7a6 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/search.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/search.json @@ -12,7 +12,6 @@ "explain": "__flag__", "stored_fields": [], "docvalue_fields": [], - "error_trace": "true", "from": "0", "ignore_unavailable": "__flag__", "ignore_throttled": "__flag__",