rrader
(rrader)
April 6, 2018, 1:04pm
1
We want to filter products, by search term, category, price, location, and a few more.
In Elasticsearch deep paging is problematic, but if we limit to 20 items per page and max number of pages to 100, will be this ok?
https://www.elastic.co/guide/en/elasticsearch/guide/current/pagination.html
rrader
(rrader)
April 7, 2018, 7:01am
3
Thanks.
So query will still be performant/effective?
dadoonet
(David Pilato)
April 7, 2018, 8:43am
4
Yes. The lower from+size is the faster the execution is though.
Also doing that on one shard vs 100 shards also matters.
But I'd say: give it a try and you will see that with actual data and real queries.
system
(system)
Closed
May 5, 2018, 8:43am
5
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.