Commit 821e149c1210fd5c0fb2728d5520fef13b3a513e
Committed by
Andrew Kane
1 parent
36e96d79
Exists in
master
and in
17 other branches
Remove Japanese stemmer that does not exist (#1216)
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
lib/searchkick/index_options.rb
@@ -180,6 +180,8 @@ module Searchkick | @@ -180,6 +180,8 @@ module Searchkick | ||
180 | type: "kuromoji" | 180 | type: "kuromoji" |
181 | } | 181 | } |
182 | ) | 182 | ) |
183 | + | ||
184 | + settings[:analysis][:filter].delete(:searchkick_stemmer) | ||
183 | when "korean" | 185 | when "korean" |
184 | settings[:analysis][:analyzer].merge!( | 186 | settings[:analysis][:analyzer].merge!( |
185 | default_analyzer => { | 187 | default_analyzer => { |