Commit 8022b7b19f35396e02c84817e7f3aa59fb2c6a6e

Authored by Andrew Kane
1 parent 646b9d45

Set ignore above when other options are specified - fixes #696

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
lib/searchkick/index.rb
... ... @@ -234,6 +234,8 @@ module Searchkick
234 234 }
235 235 end
236 236  
  237 + keyword_mapping[:ignore_above] = 256 unless below22
  238 +
237 239 settings = {
238 240 analysis: {
239 241 analyzer: {
... ...