cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to get non-paginated solr response.

Former Member
0 Likes
639

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

sduvvuri
Explorer
0 Likes

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.

Former Member
0 Likes

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

http://yonik.com/solr/paging-and-deep-paging/