Headless Server Developer Manual / Version 2110
Table Of ContentsAllowing unlimited result sizes on search queries is probably the easiest way to produce high load on the server. Therefore, limiting the size of a search result to a maximum value is almost imperative. Whenever the requested limit exceeds the maximum allowed limit, the requested limit is overwritten by the maximum value before the search query is invoked.
The maximum search result limit is enabled by setting the configuration property caas.search.max-search-limit
to a value greater than 0
. The default maximum search limit is 200.
When not requesting an explicit limit within a query, the default limit is 10. A configured maximum search limit which is smaller than the default limit, overwrites the default limit.