django-elasticsearch-dsl-drf icon indicating copy to clipboard operation
django-elasticsearch-dsl-drf copied to clipboard

Support for `search_after`

Open rmiaas opened this issue 5 years ago • 1 comments

Thanks for the neat library!

Is there any support for the search_after operator? I am working with an index of about 5M records, and my search hits a roadblock after the 10,000th record. Since increasing the max_result_window is not recommended, is there any other way to do it?

rmiaas avatar Dec 10 '19 11:12 rmiaas

@rmiaas:

AFAIK, it should not be difficult to implement. No plans for it yet, thus, it might take a while.

I would certainly be interested in PR fixing this gap.

For now I'm adding it to the TODOs.

Alternatively, if you're really want to see this feature soon, you might want to consider sponsoring it. Contact me for the details (email in README.rst).

barseghyanartur avatar Dec 10 '19 11:12 barseghyanartur