Tuesday, August 6, 2013

SharePoint Tip # 4 : QueryText limits in SharePoint Search 2013

Leave a Comment
The length limit of a KQL query varies depending on how you create it. If you create the KQL query by using the default SharePoint search front end, the length limit is 2,048 characters. However, KQL queries you create programmatically by using the Query object model have a default length limit of 4,096 characters. You can increase this limit up to 20,480 characters by using the MaxKeywordQueryTextLength property or theDiscoveryMaxKeywordQueryTextLength property (for eDiscovery).

Reference : http://msdn.microsoft.com/en-us/library/office/ee558911.aspx