From cd85fe45305df9ed1f883afff3a8db353ba13b14 Mon Sep 17 00:00:00 2001 From: Sriharsha Chintalapani Date: Mon, 15 Jul 2024 07:26:53 -0700 Subject: [PATCH] Minor: fix API Service Index entity type (#17028) --- .../openmetadata/service/search/indexes/APIServiceIndex.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/openmetadata-service/src/main/java/org/openmetadata/service/search/indexes/APIServiceIndex.java b/openmetadata-service/src/main/java/org/openmetadata/service/search/indexes/APIServiceIndex.java index 4f3ed721dc5..10bb01461bd 100644 --- a/openmetadata-service/src/main/java/org/openmetadata/service/search/indexes/APIServiceIndex.java +++ b/openmetadata-service/src/main/java/org/openmetadata/service/search/indexes/APIServiceIndex.java @@ -24,8 +24,7 @@ public record APIServiceIndex(APIService apiService) implements SearchIndex { } public Map buildSearchIndexDocInternal(Map doc) { - Map commonAttributes = - getCommonAttributesMap(apiService, Entity.SEARCH_SERVICE); + Map commonAttributes = getCommonAttributesMap(apiService, Entity.API_SERVICE); doc.putAll(commonAttributes); return doc; }