/
How to change the default results per page options

This Confluence instance is now read-only, please head over to the Algolia Confluence instance for the same more up-to-date information

How to change the default results per page options

These instructions apply only to the Search UI Widgets. Find documentation for other integration methods here: https://docs.search.io/developer-documentation/fundamentals/api-and-client-libraries

If you would like to change the default results per page sorting option as seen here:

 

Then you can add a simple line of code to the options object in your Widget JSON, like so:

"options": { "resultsPerPage": { "options": [10, 12, 15, 80] } }