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