Monday, June 1, 2020

Wednesday, November 23, 2016

How to Increase Row Limit Value of Search Service Application on SharePoint 2013

You may encounter with a problem when you try to perform a query to a content source if the row limit amout you set is greater then the value which is set on the farm. Error log will look like below;

Application error when access The allowed range of values is 0 to 500 Parameter name: RowLimit at Microsoft.Office.Server.Search.Query.QueryProperties.ValidateRowLimit(Int32 value)
 The default value is 500. The MaxRowLimit value cannot be larger than 100,000 (reference).
 You can also verify this by using PowerShell below;
Get-SPEnterpriseSearchServiceApplication
 You can increase the value of row limit by using the PowerShell below;
Get-SPEnterpriseSearchServiceApplication MaxRowLimit