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 2427328d9aa..ade12dae4de 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 @@ -209,8 +209,16 @@ public interface SearchClient { Used for listing knowledge page hierarchy for a given parent and page type, used in Elastic/Open SearchClientExtension */ @SuppressWarnings("unused") - default ResultList listPageHierarchy( - String parent, String activeFqn, String pageType, int offset, int limit) { + default ResultList listPageHierarchy(String parent, String pageType, int offset, int limit) { + throw new CustomExceptionMessage( + Response.Status.NOT_IMPLEMENTED, NOT_IMPLEMENTED_ERROR_TYPE, NOT_IMPLEMENTED_METHOD); + } + + /* + Used for listing knowledge page hierarchy for a given active Page and page type, used in Elastic/Open SearchClientExtension + */ + default ResultList listPageHierarchyForActivePage( + String activeFqn, String pageType, int offset, int limit) { throw new CustomExceptionMessage( Response.Status.NOT_IMPLEMENTED, NOT_IMPLEMENTED_ERROR_TYPE, NOT_IMPLEMENTED_METHOD); }