It's to stop automated trawling of the site. You could write a program that would log in and spend all of its time searching for key words and either downloading the corresponding content (to make a copy of the site) or programmatically inserting replies which are ads or phishing attemps.
Restricting the search to once every five seconds shouldn't inconvenience humans, but will make automated processes slower.
At least, that's my assumption.