Add support for filtering out characters in freetext query