lib/searchkick/index_options.rb in searchkick-hooopo-2.3.2 vs lib/searchkick/index_options.rb in searchkick-hooopo-2.3.3

- old
+ new

@@ -227,10 +227,10 @@ word = options[:word] != false && (!options[:match] || options[:match] == :word) mapping_options[:searchable].delete("_all") - analyzed_field_options = {type: default_type, index: "analyzed", analyzer: default_analyzer} + analyzed_field_options = {type: default_type, index: "analyzed", analyzer: Searchkick.default_analyzed_analyzer} mapping_options.values.flatten.uniq.each do |field| fields = {} if options.key?(:filterable) && !mapping_options[:filterable].include?(field)