From e42e7e41d8836ea163db82b014170fa9ea07366e Mon Sep 17 00:00:00 2001 From: Sriharsha Chintalapani Date: Thu, 15 Dec 2022 23:43:13 -0800 Subject: [PATCH] remove norms for ES index mappings (#9334) --- .../elasticsearch_mapping/table_search_index_mapping.py | 4 ---- .../main/resources/elasticsearch/table_index_mapping.json | 8 ++------ 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/ingestion/src/metadata/ingestion/sink/elasticsearch_mapping/table_search_index_mapping.py b/ingestion/src/metadata/ingestion/sink/elasticsearch_mapping/table_search_index_mapping.py index cf5cf57c4a3..c2aa12b10d0 100644 --- a/ingestion/src/metadata/ingestion/sink/elasticsearch_mapping/table_search_index_mapping.py +++ b/ingestion/src/metadata/ingestion/sink/elasticsearch_mapping/table_search_index_mapping.py @@ -68,8 +68,6 @@ TABLE_ELASTICSEARCH_INDEX_MAPPING = textwrap.dedent( }, "description": { "type": "text", - "index_options": "docs", - "norms": false, "analyzer": "om_analyzer" }, "version": { @@ -105,8 +103,6 @@ TABLE_ELASTICSEARCH_INDEX_MAPPING = textwrap.dedent( }, "description": { "type": "text", - "index_options": "docs", - "norms": false, "analyzer": "om_analyzer" }, "fullyQualifiedName": { diff --git a/openmetadata-service/src/main/resources/elasticsearch/table_index_mapping.json b/openmetadata-service/src/main/resources/elasticsearch/table_index_mapping.json index 257c1db234b..878333a7732 100644 --- a/openmetadata-service/src/main/resources/elasticsearch/table_index_mapping.json +++ b/openmetadata-service/src/main/resources/elasticsearch/table_index_mapping.json @@ -51,9 +51,7 @@ }, "description": { "type": "text", - "index_options": "docs", - "analyzer": "om_analyzer", - "norms": false + "analyzer": "om_analyzer" }, "version": { "type": "float" @@ -88,9 +86,7 @@ }, "description": { "type": "text", - "index_options": "docs", - "analyzer": "om_analyzer", - "norms": false + "analyzer": "om_analyzer" }, "fullyQualifiedName": { "type": "text"