clojurewerkz.elastisch.escape

escape-query-string-characters

(escape-query-string-characters s)
Escapes Lucene special characters

For more information, please refer to http://lucene.apache.org/core/3_4_0/queryparsersyntax.html#Escaping%20Special%20Characters