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; }