Fetch Nth record

Hi,
Im trying to fetch 5000 th record (only the on at 5000 th place) in my index.
I try with the {offset: 5000, length: 1} search options. However, algolia throws the error saying cannot fetch more than 1000 records.

I think by using limit=1, I’m limiting the records being fetched. Am I using this incorrectly?

Hello,

In Algolia by default, you can’t retrieve more than 1000 hits by the Search method (It’s also security process to avoid somebody to steal your entiere database). Dosen’t matter what offset/page or hitsPerPage you specify, you never can go further than 1000 hits.

To retrieve all your hits, (For backups&cie) you can use the Browse method.