For example I tried mysql_real_escape_string, with prefered lang en.
I expect to get only manual page results in englsh, not el, sk, ....;-)
This would limit the hits, and the result more relevant.
Thats because the search engine isn't recognising similar pages correctly (I know it isnt a simple task..)
Searching for mysql_real_escape_string returns the following urls:
php.net/mysql_real_escape_string
php.net/mysql_escape_string
php.net/mysql-real-escape-string
php.net/manual/en/function.mysql-real-escape-string.php
php.net/mysql_real_escape_string()
(..)
So, as you can see there are a lot of repeated results. A simple solution is to search only for urls with /manual/$LANG/ on it.
Nuno