Stream: hapi
Topic: Inconsistencies with bundle pagination
Patrick Werner (Feb 20 2022 at 16:14):
I tried to get all Observations of a Server through: /Observation.
I follow the next links in the bundles, but these are stopping after 2200 resources.
Patrick Werner (Feb 20 2022 at 16:14):
The server has ~15000 Observations on it.
Patrick Werner (Feb 20 2022 at 16:15):
After a lot of tweaking i found a very dirty workaround: i set max-page size to 10.000
Patrick Werner (Feb 20 2022 at 16:16):
The server then paginates every 1000 resources (ignoring my setting) but returns all Resources now.
Patrick Werner (Feb 20 2022 at 16:16):
Is there a known bug in pagination?
Craig McClendon (Feb 21 2022 at 15:53):
I haven't looked at the implementation to have precise details, but I think the HAPI server caches the search results to support subsequent paging requests. Is is possible you are "taking too long" to page through the results and the server is expiring the cache?
Patrick Werner (Feb 21 2022 at 15:57):
unfortunately not. Will try to make this issue reproducable.
Last updated: Apr 12 2022 at 19:14 UTC