From 6d22deb618e8cc546de41feedbe8f166923bb9d5 Mon Sep 17 00:00:00 2001 From: Mohit Yadav <105265192+mohityadav766@users.noreply.github.com> Date: Wed, 21 Aug 2024 10:16:51 +0530 Subject: [PATCH] Init Search Repo in Entity (#17518) --- .../org/openmetadata/service/util/OpenMetadataOperations.java | 1 + 1 file changed, 1 insertion(+) diff --git a/openmetadata-service/src/main/java/org/openmetadata/service/util/OpenMetadataOperations.java b/openmetadata-service/src/main/java/org/openmetadata/service/util/OpenMetadataOperations.java index 13326ecb003..cd81cb82752 100644 --- a/openmetadata-service/src/main/java/org/openmetadata/service/util/OpenMetadataOperations.java +++ b/openmetadata-service/src/main/java/org/openmetadata/service/util/OpenMetadataOperations.java @@ -584,6 +584,7 @@ public class OpenMetadataOperations implements Callable { config.getSecretsManagerConfiguration(), config.getClusterName()); collectionDAO = jdbi.onDemand(CollectionDAO.class); + Entity.setSearchRepository(searchRepository); Entity.setCollectionDAO(collectionDAO); Entity.initializeRepositories(config, jdbi); }