as stated in the msdn, the maximum length of a FQL Query is set to 2048 characters (SharePoint 2010). Is there any way to raise this limit?


3 Answers 3


The limit is in fact between the QRProxy WCF service and the FAST QR Server, and the limit is due to the QRProxy using GET requests against the QR Server.

It's been a while since I did it, but if you reverse engineer the QRProxy service and switch from GET to POST you should be able to have as long queries as you want.

The question is if you're comfortable with switching out the QRProxy service with your homebrew, as it seems there won't be an official update on this.

The short and officially correct answer is that any single query is locked to at 2048 characters. Doing multiple queries and merging the result is your only option unless you go to the dark side :)


According to msdn article you posted it looks like it is hard limit.

Can you split long query into multiple smaller and merge results?


Old question, but you can configure the max query length up to 20480 characters in SP2013 + SP2016:


PS C:\Users\james> $ssa = Get-SPEnterpriseSearchServiceApplication
PS C:\Users\james> $ssa.MaxKeywordQueryTextLength = 20480
PS C:\Users\james> $ssa.Update()

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.