Also - should we set the default Search Setting > Results per Page to the highest possible value we would issue programmatically?
How to programmatically set number of results per page ?
-
- Posts: 32
- Joined: Fri Aug 24, 2007 1:54 pm
How to programmatically set number of results per page ?
Currently only the admin can change the hits per page.
How to programmatically set number of results per page ?
I wonder if you could change the number of results per page now since this post was an old post...
the Search object has a resultsPerPage item but if I set it to anything, it ALWAYS get the value that is set by the admin on the server...it seems that it is not applying this programmatically...
the Search object has a resultsPerPage item but if I set it to anything, it ALWAYS get the value that is set by the admin on the server...it seems that it is not applying this programmatically...
How to programmatically set number of results per page ?
Yes. See "rpp" under "Issuing a Query Programmatically" documentation. Note that it is restricted by the Search setting "Max User Results per Page".
How to programmatically set number of results per page ?
Thanks, Mark for the answer. This is exactly what I am looking for.