Parameter:
FT_DEFAULT_MAX_SEARCH_RESULTSShort description: Upper limit for the number of hits returned by a full-text search (FT search) when the caller does not set its own limit.
Profile
Parameter | FT_DEFAULT_MAX_SEARCH_RESULTS |
Category | Performance / Memory |
Component | Server |
Available since | 10.0 |
Supported versions | 10.0, 11.0, 12.0, 14.0, 14.5, 14.5.1 |
GUI equivalent | Configuration document |
Possible values | Integer (default 5000; typically 1000–10000) |
Description
Earlier Domino versions returned all hits for full-text searches without an explicit limit – which on very large databases could lead to long response times and high RAM usage on the server.
FT_DEFAULT_MAX_SEARCH_RESULTS defines a server-wide default limit that always applies when the requesting API/view does not provide its own max argument. Applications that explicitly set a different limit are not affected.Example configuration
FT_DEFAULT_MAX_SEARCH_RESULTS=5000
Notes & pitfalls
- Very low values (
<500) can cause applications to show "incomplete" hit lists without communicating that – review standard applications.
- Very high values (
>50000) make the protection ineffective and can restore the behavior of earlier versions.
- Only affects server-side FT searches (HTTP, Notes client via server, REST); purely local client searches are not affected.
- Takes effect immediately, no restart required (an HTTP restart is recommended to consistently apply the new defaults).