We have come across an issue with the cms search, where due to the presence of many languages and roles in our website, the length of the search request becomes too long for the average server and thus leads to malfunction.
As you know, the CMS frontend communicates via GET requests with a WCF Service (the IndexingService) that is hosted in the same web as the CMS itself. In these requests, the cms transmits the search string as well as which cultures should be searched and which permissions are available - along with additional metadata. The different parts that we have noticed in the url are the following:
An example query looks as follows:
This is pretty much a minimum request, but already has 473 characters.
On our websites we have around 15 cultures enabled and backend users usually have around 5 roles, but some are going up to 15 roles. This leads to a very long GET-request url, as the ACL and CULTURE parts are repeated for every culture and every role, and eventually we easily reach request lengths of 3-4k characters. That is a problem with many servers unless you explicitly extend the limits (if you can).
How could this be avoided?
Of course there can be other ideas as well, e.g. not using a WCF service at all.
On our side we have currently solved this by allowing much longer request urls, but a solution that doesn’t require this would be much appreciated.