on ‎2019 Apr 10 7:21 PM
Hi all,
Is there any way to get data from solr indexes in a non-paginated way. My requirement is to get all the product data in one shot regardless of the no. of records. OOTB the 'pageSize' config is set to 20 which gives 20 records per page. Is there any configuration to disable this pagination?
Thanks in advance.
Request clarification before answering.
There is a parameter for the controller named ShowMode. The default value for this parameter is Page. You can change it to All. In this case the pageSize can be set by your value by configuring in properties file. In this way you can get as many products as you desire in one go.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
You can use "Deep Paging" via Cursors. For more details how to do it , please go through below urls-
https://lucene.apache.org/solr/guide/6_6/pagination-of-results.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.