add offset limits to hierarchy listing (#18515)

This commit is contained in:
Sriharsha Chintalapani 2024-11-07 01:52:11 -08:00 committed by GitHub
parent 8d40d8ea77
commit 9efe137466
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -195,7 +195,7 @@ public interface SearchClient {
Used for listing knowledge page hierarchy for a given parent and page type, used in Elastic/Open SearchClientExtension
*/
@SuppressWarnings("unused")
default Response listPageHierarchy(String parent, String pageType) {
default Response listPageHierarchy(String parent, String pageType, int offset, int limit) {
throw new CustomExceptionMessage(
Response.Status.NOT_IMPLEMENTED, NOT_IMPLEMENTED_ERROR_TYPE, NOT_IMPLEMENTED_METHOD);
}