lib/searchkick/index_options.rb in searchkick-hooopo-2.3.5 vs lib/searchkick/index_options.rb in searchkick-hooopo-2.4.0

- old
+ new

@@ -313,20 +313,10 @@ multi_field = dynamic_fields["{name}"].merge(fields: dynamic_fields.except("{name}")) mappings = { _default_: { properties: mapping, - _routing: routing, - # https://gist.github.com/kimchy/2898285 - dynamic_templates: [ - { - string_template: { - match: "*", - match_mapping_type: "string", - mapping: multi_field - } - } - ] + _routing: routing } } if below60 all_enabled = all && (!options[:searchable] || options[:searchable].to_a.map(&:to_s).include?("_all"))