Hacker News new | past | comments | ask | show | jobs | submit login

These cursors are not database cursors. I too was confused by the bad terminology...



Ah, I assumed from the topic, term and discussion that this would be implemented via sql cursors. Apparently elastic search has a similar concept - but like sql cursors it cannot be stateless (because you cannot ask for Nth to Mth result of searching the collection as of state Z -if you don't want to capture/supply state Z).

This means any stateless pagination api is fundamentally broken. Please don't make promises you cannot keep.

For elastic: https://www.elastic.co/guide/en/elasticsearch/reference/curr...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: