README.md in mongoid_search-0.3.3 vs README.md in mongoid_search-0.3.4
- old
+ new
@@ -164,8 +164,14 @@
# Ligatures to be replaced
# http://en.wikipedia.org/wiki/Typographic_ligature
config.ligatures = { "œ"=>"oe", "æ"=>"ae" }
+ # Strip symbols regex to be replaced. These symbols will be replaced by space
+ config.strip_symbols = /[._:;'\"`,?|+={}()!@#%^&*<>~\$\-\\\/\[\]]/
+
+ # Strip accents regex to be replaced. These sybols will be removed after strip_symbols replacing
+ config.strip_accents = /[^\s\p{Alnum}]/
+
# Minimum word size. Words smaller than it won't be indexed
config.minimum_word_size = 2
end