How to get all results from solr query?

后端 未结 8 873
温柔的废话
温柔的废话 2021-01-01 10:36

I executed some query like \"Address:Jack*\". It show numFound = 5214 and display 100 documents in results page(I changed default display results f

8条回答
  •  旧时难觅i
    2021-01-01 11:28

    Returning all the results is never a good option as It would be very slow in performance.
    Can you mention your use case ?

    Also, Solr rows parameter helps you to tune the number of the results to be returned.
    However, I don't think there is a way to tune rows to return all results. It doesn't take a -1 as value.
    So you would need to set a high value for all the results to be returned.

提交回复
热议问题