---
title: ContentSearchMaxMatchesPerDocument System Parameter – Matches Listed per Document
description: The ContentSearchMaxMatchesPerDocument System Parameter limits how many matches Nodinite Content Search lists per document. The match count stays exact. Default 10.
---

# ContentSearchMaxMatchesPerDocument - System Parameter

<sup><span class="nodinite-new-badge">New 7.12</span></sup>

**ContentSearchMaxMatchesPerDocument** is an integer [System Parameter][System Parameters] that limits how many matches one document lists in the result of a [Content Search][]: the **Search content** dialog for [Articles][], [Snippets][], [Templates][], and [Document Profiles][]. The [Web API][] reads it for every search.

<h2 id="at-a-glance"><i class="fal fa-table" aria-hidden="true"></i> At a Glance</h2>

| Property | Value |
| --- | --- |
| Key | `ContentSearchMaxMatchesPerDocument` |
| Data type | integer (matches per document) |
| Default | `10` |
| Read by | [Web API][] |
| Takes effect | At the next search when saved on the System Parameters page; within about 15 seconds in other processes, such as the [MCP Endpoint][]; no restart needed |
| Status | ✅ Active |
| Since | Nodinite 7.12 |

<h2 id="how-it-works"><i class="fal fa-gears" aria-hidden="true"></i> How It Works</h2>

* Each result card lists up to **ContentSearchMaxMatchesPerDocument** matches, with the section and line of each; the first two are shown, and **Show n more matches** expands the rest.
* Matches beyond the limit are not listed, but the match count on the card still shows the true number.
* The MCP tool `search_content` lists at most 5 matches per document, whatever this value.

See [Content Search - Limits][] for all three limits together.

![System Parameters page filtered on ContentSearch, showing ContentSearchMaxMatchesPerDocument 10, ContentSearchMaxResults 100, and ContentSearchMaxScannedDocuments 2000 with their descriptions (7.12)][1]  
*Filter on `ContentSearch` to see the three Content Search limits together; this page covers **ContentSearchMaxMatchesPerDocument**.*  

<h2 id="choosing-a-value"><i class="fal fa-lightbulb" aria-hidden="true"></i> Choosing a Value</h2>

Keep the default. A document with more matches than the limit is usually best read in the reader, where the find bar steps through every match. Raise the value only when you need every match in the result list.

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* <i class="fal fa-magnifying-glass" aria-hidden="true"></i> [Content Search][]  
* <i class="fal fa-sliders" aria-hidden="true"></i> [Manage System Parameters][]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fal fa-sliders" aria-hidden="true"></i> [ContentSearchMaxResults][]  
* <i class="fal fa-sliders" aria-hidden="true"></i> [ContentSearchMaxScannedDocuments][]  
* <i class="fal fa-key" aria-hidden="true"></i> [System Parameters][]  
* <i class="fal fa-cloud" aria-hidden="true"></i> [Web API][]  
* <i class="fal fa-robot" aria-hidden="true"></i> [MCP Tool Reference][]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Settings/SP/SystemParameters_ContentSearch.png

[Articles]:https://docs.nodinite.com/repository-model/knowledge-base-articles/overview/
[Content Search]:https://docs.nodinite.com/repository-model/knowledge-base-articles/features/content-search/
[Content Search - Limits]:https://docs.nodinite.com/repository-model/knowledge-base-articles/features/content-search/#limits
[ContentSearchMaxResults]:https://docs.nodinite.com/administration/settings/system-parameters/contentsearchmaxresults/
[ContentSearchMaxScannedDocuments]:https://docs.nodinite.com/administration/settings/system-parameters/contentsearchmaxscanneddocuments/
[Document Profiles]:https://docs.nodinite.com/repository-model/knowledge-base-articles/features/document-profiles/
[Manage System Parameters]:https://docs.nodinite.com/administration/settings/system-parameters/manage-system-parameters/
[MCP Endpoint]:https://docs.nodinite.com/ai/mcp-endpoint/
[MCP Tool Reference]:https://docs.nodinite.com/ai/mcp-tool-reference/repository-tools/#content-search
[Snippets]:https://docs.nodinite.com/repository-model/knowledge-base-articles/features/snippets/
[System Parameters]:https://docs.nodinite.com/administration/settings/system-parameters/overview/
[Templates]:https://docs.nodinite.com/repository-model/knowledge-base-articles/features/templates/
[Web API]:https://docs.nodinite.com/core-services/web-api/overview/