diff --git a/lib/searchkick/query.rb b/lib/searchkick/query.rb index c34951f..402e590 100644 --- a/lib/searchkick/query.rb +++ b/lib/searchkick/query.rb @@ -1043,7 +1043,7 @@ module Searchkick {regexp: {field => {value: source, flags: "NONE"}}} else - {term: {field => value}} + {term: {field => {value: value}}} end end -- libgit2 0.21.0