---
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

:new7.12:

**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.

## :fa-table: At a Glance {#at-a-glance}

| 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 |

## :fa-gears: How It Works {#how-it-works}

* 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**.*  

## :fa-lightbulb: Choosing a Value {#choosing-a-value}

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.

## :fa-hand-point-right: Next Steps

* :fa-magnifying-glass: [Content Search][]  
* :fa-sliders: [Manage System Parameters][]  

## :fa-link-horizontal: Related Topics

* :fa-sliders: [ContentSearchMaxResults][]  
* :fa-sliders: [ContentSearchMaxScannedDocuments][]  
* :fa-key: [System Parameters][]  
* :fa-cloud: [Web API][]  
* :fa-robot: [MCP Tool Reference][]  

[1]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Settings/SP/SystemParameters_ContentSearch.png

[Articles]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Overview.md
[Content Search]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Features/Content%20Search.md
[Content Search - Limits]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Features/Content%20Search.md#limits
[ContentSearchMaxResults]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/ContentSearchMaxResults.md
[ContentSearchMaxScannedDocuments]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/ContentSearchMaxScannedDocuments.md
[Document Profiles]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Features/Document%20Profiles.md
[Manage System Parameters]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/Manage%20System%20Parameters.md
[MCP Endpoint]:{ndr}/AI/MCP%20Endpoint.md
[MCP Tool Reference]:{ndr}/AI/MCP%20Tool%20Reference/Repository%20Tools.md#content-search
[Snippets]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Features/Snippets.md
[System Parameters]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/Overview.md
[Templates]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Features/Templates.md
[Web API]:{ndr}/Core%20Services/Web%20API/Overview.md