Service | Microsoft Docs article | Related commit history on GitHub | Change details |
---|---|---|---|
SharePoint | Search Limits | https://github.com/MicrosoftDocs/OfficeDocs-SharePoint/commits/public/SharePoint/SharePointOnline/search-limits.md | Last updated 07/11/2018 Title: "Search limits for SharePoint" -+ recommendations: true search.appverid: - SPO160 - MET150 ms.assetid: 7c06e9ed-98b6-4304-a900-14773a8fa32f-description: "Learn about Search limits for SharePoint" +description: "Learn about Search limits for SharePoint." # Search limits for SharePoint The following table lists the limits for SharePoint search. |Limit|Maximum value|Limit type|Notes| |:--|:--|:--|:--|-|Size of document that can be downloaded by the crawl components <br/> |150 MB<br/> |Boundary <br/> |Search downloads metadata and content from a document until it reaches the maximum document size. The rest of the content is not downloaded. <br/> | -|Parsed content size <br/> |2 million characters <br/> |Boundary <br/> |Search stops parsing an item after it has parsed up to 2 million characters of content from it, including the item's attachments. The actual amount of parsed characters can be lower than this limit because search uses a maximum of 30 seconds on parsing a single item and its attachments. When search stops parsing an item, the item is marked as partially processed. Any unparsed content isn't processed and therefore isn't indexed. <br/> | -|Characters processed by the word breaker <br/> |1,000,000 <br/> |Boundary <br/> |Search breaks content into individual words (tokens). The word breaker produces tokens from the first 1,000,000 characters of a single item, including the item's attachments. <br/> The actual amount of tokens can be lower than this limit because search uses a maximum of 30 seconds on word breaking. Any remaining content isn't processed. <br/> | -|Indexed managed property size <br/> |512 KB per managed property that is set to either "searchable" or "queryable" <br/> |Boundary <br/> || -|Retrievable managed property size <br/> |64 KB per managed property <br/> |Boundary <br/> || -|Sortable and refinable managed property size <br/> |16 KB per managed property <br/> |Boundary <br/> || -|Token size <br/> |Variable - the size depends on the word breaker, and the word-breaker is language-dependent. <br/> |Boundary <br/> |Search can index tokens of any length but the word breaker that is used to produce tokens can limit the token length. Word breakers are language-aware components that break content into single words (tokens). <br/> | -|Unique indexed tokens per managed property <br/> |10,000 <br/> |Boundary <br/> |This is the maximum number of unique tokens that can be added to the search index per managed property. If the limit is exceeded, the index will contain the first 10,000 tokens from the managed property and the file will be marked as partially processed by setting the IsPartiallyProcessed property to true. <br/> | -|Distinct users or Active Directory / Microsoft Entra security groups having access to an item <br/> |10,000 <br/> |Boundary <br/> |When more than 10,000 distinct users or Active Directory / Microsoft Entra security groups have access to an item, the item isn't searchable by any user. Such items will only be returned as part of an eDiscovery query through the Security & Compliance center. <br/> | -|Number of entries in a custom search dictionary <br/> |5,000 terms per tenant <br/> |Boundary <br/> |This limits the number of terms allowed for inclusions and exclusions dictionaries for query spelling correction and company extraction. You can store more terms than this limit in the term store, but search only uses 5,000 terms per tenant. <br/> | -|Managed property mappings <br/> |100 per managed property <br/> |Supported <br/> |Crawled properties can be mapped to managed properties. Exceeding this limit may decrease crawl speed and query performance. <br/> | -|Values per managed property <br/> |1,000 <br/> |Boundary <br/> |A managed property can have multiple values of the same type. This is the maximum number of values per managed multi-valued managed property per document. If this number is exceeded, the remaining values are discarded. <br/> | -|Number of bytes in a multi-valued string property <br/> |32 KB <br/> |Boundary <br/> |If you reach this limit, the multi-valued property will be truncated. <br/> | -|Unique contexts used for ranking <br/> |15 unique contexts per rank model <br/> |Boundary <br/> || -|Authoritative pages <br/> |1 top level and minimal second- and third-level pages per tenant <br/> |Supported <br/> |Use as few second- and third-level pages as possible while still achieving the desired relevance. <br/> If you add additional pages you may not achieve the desired relevance. Add the key site to the first relevance level. Add more key sites at either second or third relevance levels, one at a time. Evaluate relevance after each addition to ensure that you have achieved the desired relevance effect. <br/> | -|Text length for queries using Keyword Query Language <br/> |4 KB (4,096 characters) <br/> |Boundary <br/> || -|Number of rows in a result set <br/> |500 <br/> |Boundary <br/> |To display the entire result set, issue more paging queries. <br/> For Discovery queries the maximum number of rows in a result set is 10,000. <br/> | -|User-defined full-text indexes <br/> |3 <br/> |Boundary <br/> || -|Maximum number of on-premises items indexed in Microsoft 365 <br/> |20 million items <br/> |Threshold <br/> |For each 1 TB of storage space your tenant has in Microsoft 365, you can index 1 million items of on-premises content in your tenant's search index in Office 365 with the cloud hybrid search solution. This quota is by default limited upwards to 20 million items. To increase the number of items that can be indexed beyond 20 million items, contact Microsoft Support. <br/> | +|Size of document that can be downloaded by the crawl components |150 MB|Boundary |Search downloads metadata of the document only for files >150 MB. The content of the document isn't downloaded. | +|Parsed content size |2 million characters |Boundary |Search stops parsing an item after it has parsed up to 2 million characters of content from it, including the item's attachments. The actual number of parsed characters can be lower than this limit because search uses a maximum of 30 seconds on parsing a single item and its attachments. When search stops parsing an item, the item is marked as partially processed. Any unparsed content isn't processed and therefore isn't indexed. | +|Characters processed by the word breaker |1,000,000 |Boundary |Search breaks content into individual words (tokens). The word breaker produces tokens from the first 1,000,000 characters of a single item, including the item's attachments. <br/> The actual amount of tokens can be lower than this limit because search uses a maximum of 30 seconds on word breaking. Any remaining content isn't processed. | +|Indexed managed property size |512 KB per managed property that is set to either "searchable" or "queryable" |Boundary || +|Retrievable managed property size |64 KB per managed property |Boundary || +|Sortable and refinable managed property size |16 KB per managed property |Boundary || +|Token size |Variable - the size depends on the word breaker, and the word-breaker is language-dependent. |Boundary |Search can index tokens of any length but the word breaker that is used to produce tokens can limit the token length. Word breakers are language-aware components that break content into single words (tokens). | +|Unique indexed tokens per managed property |10,000 |Boundary |This is the maximum number of unique tokens that can be added to the search index per managed property. If the limit is exceeded, the index contains the first 10,000 tokens from the managed property and the file will be marked as partially processed by setting the IsPartiallyProcessed property to true. | +|Distinct users or Active Directory / Microsoft Entra security groups having access to an item |10,000 |Boundary |When more than 10,000 distinct users or Active Directory / Microsoft Entra security groups have access to an item, the item isn't searchable by any user. Such items will only be returned as part of an eDiscovery query through the Security & Compliance center. | +|Number of entries in a custom search dictionary |5,000 terms per tenant |Boundary |This limits the number of terms allowed for inclusions and exclusions dictionaries for query spelling correction and company extraction. You can store more terms than this limit in the term store, but search only uses 5,000 terms per tenant. | +|Managed property mappings |100 per managed property |Supported |Crawled properties can be mapped to managed properties. Exceeding this limit may decrease crawl speed and query performance. | +|Values per managed property |1,000 |Boundary |A managed property can have multiple values of the same type. This is the maximum number of values per managed multi-valued managed property per document. If this number is exceeded, the remaining values are discarded. | +|Number of bytes in a multi-valued string property |32 KB |Boundary |If you reach this limit, the multi-valued property is truncated. | +|Unique contexts used for ranking |15 unique contexts per rank model |Boundary || +|Authoritative pages |1 top level and minimal second- and third-level pages per tenant |Supported |Use as few second- and third-level pages as possible while still achieving the desired relevance. <br/> If you add additional pages, you may not achieve the desired relevance. Add the key site to the first relevance level. Add more key sites at either second or third relevance levels, one at a time. Evaluate relevance after each addition to ensure that you have achieved the desired relevance effect. | +|Text length for queries using Keyword Query Language |4 KB (4,096 characters) |Boundary || +|Number of rows in a result set |500 |Boundary |To display the entire result set, issue more paging queries. <br/> For Discovery queries the maximum number of rows in a result set is 10,000. | +|User-defined full-text indexes |3 |Boundary || +|Maximum number of on-premises items indexed in Microsoft 365 |20 million items |Threshold |For each 1 TB of storage space your tenant has in Microsoft 365, you can index 1 million items of on-premises content in your tenant's search index in Office 365 with the cloud hybrid search solution. This quota is by default limited upwards to 20 million items. To increase the number of items that can be indexed beyond 20 million items, contact Microsoft Support. | ## See also |