You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This script currently loops over all items in the response and depends on the user setting --limit high enough to include all items in the index. This is because I found that pages to not be functional. This is what I should have done:
But this only ever gives me a single page. There are 2 relevant parameters to search:
max_items – The maximum number of items to return from the search, even if there are more matching results
limit – A recommendation to the service as to the number of items to return per page of results.
From my testing, limit works but forces a single page. So if there are additional records, you don't get them. I am unsure if this is a python client problem or something else but it means that you need to set limit to all of the records of the index you want to check.
The text was updated successfully, but these errors were encountered:
@sturoscy-personal This appears to be a problem with our (west's) endpoint. I have to change the collection to lower case, but running the same code on the CEDA endpoint returns the proper pagination.
This script currently loops over all items in the response and depends on the user setting
--limit
high enough to include all items in the index. This is because I found that pages to not be functional. This is what I should have done:But this only ever gives me a single page. There are 2 relevant parameters to search:
max_items
– The maximum number of items to return from the search, even if there are more matching resultslimit
– A recommendation to the service as to the number of items to return per page of results.From my testing,
limit
works but forces a single page. So if there are additional records, you don't get them. I am unsure if this is a python client problem or something else but it means that you need to set limit to all of the records of the index you want to check.The text was updated successfully, but these errors were encountered: