Commit eb78a633d8d29b927e0cabf235fc1898965e13a3
1 parent
2402b0aa
Exists in
master
and in
14 other branches
Better handling of hash value - previously boost could be set but this had no ef…
…fect since it's a filter
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/searchkick/query.rb
@@ -1043,7 +1043,7 @@ module Searchkick | @@ -1043,7 +1043,7 @@ module Searchkick | ||
1043 | 1043 | ||
1044 | {regexp: {field => {value: source, flags: "NONE"}}} | 1044 | {regexp: {field => {value: source, flags: "NONE"}}} |
1045 | else | 1045 | else |
1046 | - {term: {field => value}} | 1046 | + {term: {field => {value: value}}} |
1047 | end | 1047 | end |
1048 | end | 1048 | end |
1049 | 1049 |