From dcaa4c0955f460eef1e108c5c5f6738fed397e27 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Thu, 16 Feb 2017 21:09:32 -0800 Subject: [PATCH] Removed unneeded line [skip ci] --- lib/searchkick/index_options.rb | 2 -- 1 file changed, 0 insertions(+), 2 deletions(-) diff --git a/lib/searchkick/index_options.rb b/lib/searchkick/index_options.rb index 5f4dfea..629ed8b 100644 --- a/lib/searchkick/index_options.rb +++ b/lib/searchkick/index_options.rb @@ -288,8 +288,6 @@ module Searchkick dynamic_fields["{name}"] = {type: default_type, index: "no"} end - dynamic_fields["{name}"][:ignore_above] = (options[:ignore_above] || 256) unless below22 - unless options[:searchable] if options[:match] && options[:match] != :word dynamic_fields[options[:match]] = {type: default_type, index: "analyzed", analyzer: "searchkick_#{options[:match]}_index"} -- libgit2 0.21.0