Commit ebd9bdfaad16896964acb98b0d53f32e84ea3223
1 parent
37298881
Exists in
master
and in
21 other branches
Fixed error with word - #716
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/searchkick/index.rb
@@ -500,7 +500,7 @@ module Searchkick | @@ -500,7 +500,7 @@ module Searchkick | ||
500 | end | 500 | end |
501 | end | 501 | end |
502 | 502 | ||
503 | - mapping_options.except(:highlight, :searchable, :only_analyzed).each do |type, f| | 503 | + mapping_options.except(:highlight, :searchable, :only_analyzed, :word).each do |type, f| |
504 | if options[:match] == type || f.include?(field) | 504 | if options[:match] == type || f.include?(field) |
505 | fields[type] = {type: default_type, index: "analyzed", analyzer: "searchkick_#{type}_index"} | 505 | fields[type] = {type: default_type, index: "analyzed", analyzer: "searchkick_#{type}_index"} |
506 | end | 506 | end |