azure-sdk-for-python icon indicating copy to clipboard operation
azure-sdk-for-python copied to clipboard

Paging for search

Open rakshith91 opened this issue 6 years ago • 3 comments

list APIs should return paged items - especially index and datasources.

rakshith91 avatar Apr 23 '20 18:04 rakshith91

Indexes yes, but why data sources? CC @heaths

bitsforthought avatar Apr 23 '20 18:04 bitsforthought

Apart from understanding why DataSources should be paged (keep in mind the service doesn't actually support paging currently, so the SDK would only return a single page), this would otherwise be a dup of #11008. For the new APIs we are making list_indexes return a pageable because there can be up to 3,000 for S3 plans and index models can be pretty large, but limits on other resources are pretty low and they tend to be smaller models. It would be helpful to understand why you'd want these in pages as opposed to all at once.

heaths avatar Apr 23 '20 18:04 heaths

Wasn't aware service doesn't support paging currently. Closing this issue as a duplicate. Thanks for the clarification.

rakshith91 avatar Apr 23 '20 21:04 rakshith91