disabling query chain is very important and happens frequently so to make the code that requires this functionality more effiecient I created a shortcut in the repository getQuery method

git-svn-id: file:///var/www/svn/anahita/anahita/branches/search@16992 a933e228-e664-4d3f-8241-49479697c698