From 93e926c2ff4475dc0f56bbdc22b52d23e32ea824 Mon Sep 17 00:00:00 2001 From: Nicole Albee <2642763+a03nikki@users.noreply.github.com> Date: Thu, 19 Sep 2024 15:12:09 -0500 Subject: [PATCH] Add suggestions to Console for keyword normalizers. (#175054) (cherry picked from commit 6f86d45147bb68eb661ee1771efcf5c81646c654) --- src/plugins/console/server/lib/spec_definitions/js/mappings.ts | 1 + src/plugins/console/server/lib/spec_definitions/js/settings.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/plugins/console/server/lib/spec_definitions/js/mappings.ts b/src/plugins/console/server/lib/spec_definitions/js/mappings.ts index 9f89d20f5ecd4..22e7287aa6374 100644 --- a/src/plugins/console/server/lib/spec_definitions/js/mappings.ts +++ b/src/plugins/console/server/lib/spec_definitions/js/mappings.ts @@ -93,6 +93,7 @@ export const mappings = (specService: SpecDefinitionsService) => { __one_of: [false, true], }, ignore_above: 10, + normalizer: '', position_increment_gap: 0, // numeric diff --git a/src/plugins/console/server/lib/spec_definitions/js/settings.ts b/src/plugins/console/server/lib/spec_definitions/js/settings.ts index dd5e18357c18e..f75b492d797f5 100644 --- a/src/plugins/console/server/lib/spec_definitions/js/settings.ts +++ b/src/plugins/console/server/lib/spec_definitions/js/settings.ts @@ -52,6 +52,7 @@ export const settings = (specService: SpecDefinitionsService) => { tokenizer: {}, filter: {}, char_filter: {}, + normalizer: {}, }, 'cache.query.enable': BOOLEAN, shadow_replicas: BOOLEAN,