Set the number of search results on the search page

Quick question: The solr search results page is paginated every 10 results.

Is there a way to set a different number of search results? Say 5 or 50 rather than the current 10?


Just checked the source code and saw that you can pass a query string parameter, for ex rows=50, as in http://localhost:8080/xwiki/bin/view/Main/Search?text=test&f_type=DOCUMENT&f_locale=en&f_locale=&r=1&rows=50.

If not defined, 10 is used, see

So you could change that page in your wiki if you want to change that default value.

That works for me.