From 2a96dfebc6649035c7875121d66d313eb7c2ddff Mon Sep 17 00:00:00 2001 From: Sriharsha Chintalapani Date: Thu, 19 Oct 2023 00:54:42 -0700 Subject: [PATCH] Fix source url look due to index alias issue (#13642) * Fix source url look due to index alias issue * Update pom.xml * Update pom.xml * Update pom.xml --- .../main/java/org/openmetadata/service/search/SearchClient.java | 2 +- openmetadata-shaded-deps/elasticsearch-dep/pom.xml | 2 +- openmetadata-shaded-deps/opensearch-dep/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/openmetadata-service/src/main/java/org/openmetadata/service/search/SearchClient.java b/openmetadata-service/src/main/java/org/openmetadata/service/search/SearchClient.java index 54f85783cbc..534185b6e1b 100644 --- a/openmetadata-service/src/main/java/org/openmetadata/service/search/SearchClient.java +++ b/openmetadata-service/src/main/java/org/openmetadata/service/search/SearchClient.java @@ -27,7 +27,7 @@ public interface SearchClient { String ADD = "add"; String DELETE = "delete"; - String GLOBAL_SEARCH_ALIAS = "AllEntities"; + String GLOBAL_SEARCH_ALIAS = "all"; String DEFAULT_UPDATE_SCRIPT = "for (k in params.keySet()) { ctx._source.put(k, params.get(k)) }"; String REMOVE_DOMAINS_CHILDREN_SCRIPT = "ctx._source.remove('domain')"; String PROPAGATE_ENTITY_REFERENCE_FIELD_SCRIPT = "if(ctx._source.%s == null){ ctx._source.put('%s', params)}"; diff --git a/openmetadata-shaded-deps/elasticsearch-dep/pom.xml b/openmetadata-shaded-deps/elasticsearch-dep/pom.xml index 94e444f69b7..191a47da3df 100644 --- a/openmetadata-shaded-deps/elasticsearch-dep/pom.xml +++ b/openmetadata-shaded-deps/elasticsearch-dep/pom.xml @@ -175,4 +175,4 @@ - \ No newline at end of file + diff --git a/openmetadata-shaded-deps/opensearch-dep/pom.xml b/openmetadata-shaded-deps/opensearch-dep/pom.xml index ad68e4408ec..ee5c840ce44 100644 --- a/openmetadata-shaded-deps/opensearch-dep/pom.xml +++ b/openmetadata-shaded-deps/opensearch-dep/pom.xml @@ -175,4 +175,4 @@ - \ No newline at end of file +