Add error message when we modify a search query
* fix #1056
* sometimes we disable wildcard/phrase/synonyms when the query gets too large