lib/mongoid_search.rb in mongoid_search-0.3.5 vs lib/mongoid_search.rb in mongoid_search-0.3.6
- old
+ new
@@ -48,10 +48,10 @@
# @@regex = Proc.new { |query| /#{query}$/ }
# Ligatures to be replaced
# http://en.wikipedia.org/wiki/Typographic_ligature
mattr_accessor :ligatures
- @@ligatures = { 'œ' => 'oe', 'æ' => 'ae' }
+ @@ligatures = { 'œ' => 'oe', 'æ' => 'ae', 'ꜵ' => 'ao' }
# Minimum word size. Words smaller than it won't be indexed
mattr_accessor :minimum_word_size
@@minimum_word_size = 2