From 8e0fc86b4ea36ed0682a8bc9b45a4c1cc67ce3a6 Mon Sep 17 00:00:00 2001 From: 07Himank <112613760+07Himank@users.noreply.github.com> Date: Thu, 20 Jul 2023 10:32:43 +0530 Subject: [PATCH] fixed glossary name not visible after reindex issue (#12438) * fixed glossary name not visible after reindex issue and added display name as name if display name is null beacuse aggregation is done on owner display name * fix --- .../en/glossary_index_mapping.json | 47 +++++++++++++++++++ .../jp/glossary_index_mapping.json | 47 +++++++++++++++++++ .../zh/glossary_index_mapping.json | 47 +++++++++++++++++++ 3 files changed, 141 insertions(+) diff --git a/openmetadata-service/src/main/resources/elasticsearch/en/glossary_index_mapping.json b/openmetadata-service/src/main/resources/elasticsearch/en/glossary_index_mapping.json index 3b4d3a7ecdb..2783ffacc7b 100644 --- a/openmetadata-service/src/main/resources/elasticsearch/en/glossary_index_mapping.json +++ b/openmetadata-service/src/main/resources/elasticsearch/en/glossary_index_mapping.json @@ -82,6 +82,53 @@ } } }, + "owner": { + "properties": { + "id": { + "type": "keyword", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 36 + } + } + }, + "type": { + "type": "keyword" + }, + "name": { + "type": "keyword", + "normalizer": "lowercase_normalizer", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "displayName": { + "type": "keyword", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "fullyQualifiedName": { + "type": "text" + }, + "description": { + "type": "text" + }, + "deleted": { + "type": "text" + }, + "href": { + "type": "text" + } + } + }, "version": { "type": "float" }, diff --git a/openmetadata-service/src/main/resources/elasticsearch/jp/glossary_index_mapping.json b/openmetadata-service/src/main/resources/elasticsearch/jp/glossary_index_mapping.json index 09e2b9c274a..dadb83a4b73 100644 --- a/openmetadata-service/src/main/resources/elasticsearch/jp/glossary_index_mapping.json +++ b/openmetadata-service/src/main/resources/elasticsearch/jp/glossary_index_mapping.json @@ -84,6 +84,53 @@ } } }, + "owner": { + "properties": { + "id": { + "type": "keyword", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 36 + } + } + }, + "type": { + "type": "keyword" + }, + "name": { + "type": "keyword", + "normalizer": "lowercase_normalizer", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "displayName": { + "type": "keyword", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "fullyQualifiedName": { + "type": "text" + }, + "description": { + "type": "text" + }, + "deleted": { + "type": "text" + }, + "href": { + "type": "text" + } + } + }, "version": { "type": "float" }, diff --git a/openmetadata-service/src/main/resources/elasticsearch/zh/glossary_index_mapping.json b/openmetadata-service/src/main/resources/elasticsearch/zh/glossary_index_mapping.json index 42c3b29c187..c7f5ebb9fee 100644 --- a/openmetadata-service/src/main/resources/elasticsearch/zh/glossary_index_mapping.json +++ b/openmetadata-service/src/main/resources/elasticsearch/zh/glossary_index_mapping.json @@ -48,6 +48,53 @@ "analyzer": "ik_max_word", "search_analyzer": "ik_smart" }, + "owner": { + "properties": { + "id": { + "type": "keyword", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 36 + } + } + }, + "type": { + "type": "keyword" + }, + "name": { + "type": "keyword", + "normalizer": "lowercase_normalizer", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "displayName": { + "type": "keyword", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "fullyQualifiedName": { + "type": "text" + }, + "description": { + "type": "text" + }, + "deleted": { + "type": "text" + }, + "href": { + "type": "text" + } + } + }, "version": { "type": "float" },