pagination with elasticsearch-dsl
pfk-beta opened this issue · 1 comments
pfk-beta commented
Hello,
When I'm using django-tables with regular querysets it works like a charm:) But when I switch to elasticsearch, I have a problem with pagination. Does anyone had similar setup?
pfk-beta commented
Hello @pfk-beta,
You should use .scan()
method after invoking search. It is described: https://elasticsearch-dsl.readthedocs.io/en/latest/search_dsl.html#pagination