A module that contains (1) string related methods
backslash everything that isn't a word character
# File lib/rsolr/char.rb, line 6 def escape value value.gsub %r(\W)/, '\\\1' end