ResultsLimit limits the number of results displayed to the user.
When ResultsLimit is set to a positive number, the last result the user can navigate to is limited to the given number. For example, when ResultsLimit is 1000, the user won't be able to navigate farther than the 100th page assuming the default page size of 10.
Use 0 if you need unlimited number of results.
Note: The value of the property
total
returned by the methodsRESULT::document_property()
andRESULT::document_property_html()
is not affected by ResultsLimit and holds the real total number of the found documents.
This kind of limiting makes sense because a real person usually does not browse through too many pages, only bots and spiders do. ResultsLimit prevents the search server from being loaded by bots, spiders and attackers.
The default value is 1000.