Commit 6454475d6da76aafc7f95764c8e3d41f878b5174
1 parent
c2922b9f
Exists in
master
and in
19 other branches
Fixed performance lint [skip ci]
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/searchkick/index_options.rb
@@ -198,7 +198,7 @@ module Searchkick | @@ -198,7 +198,7 @@ module Searchkick | ||
198 | end | 198 | end |
199 | 199 | ||
200 | if options[:special_characters] == false | 200 | if options[:special_characters] == false |
201 | - settings[:analysis][:analyzer].each do |_, analyzer_settings| | 201 | + settings[:analysis][:analyzer].each_value do |analyzer_settings| |
202 | analyzer_settings[:filter].reject! { |f| f == "asciifolding" } | 202 | analyzer_settings[:filter].reject! { |f| f == "asciifolding" } |
203 | end | 203 | end |
204 | end | 204 | end |