Commit f4cec237128a7c1fc70f617dbbb01019b0507311
1 parent
c9f2af4d
Exists in
master
and in
21 other branches
Removed extra commas
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
lib/searchkick/search.rb
... | ... | @@ -61,7 +61,7 @@ module Searchkick |
61 | 61 | {multi_match: shared_options.merge(boost: 10, analyzer: "searchkick_search")}, |
62 | 62 | {multi_match: shared_options.merge(boost: 10, analyzer: "searchkick_search2")}, |
63 | 63 | {multi_match: shared_options.merge(fuzziness: 1, max_expansions: 3, analyzer: "searchkick_search")}, |
64 | - {multi_match: shared_options.merge(fuzziness: 1, max_expansions: 3, analyzer: "searchkick_search2")}, | |
64 | + {multi_match: shared_options.merge(fuzziness: 1, max_expansions: 3, analyzer: "searchkick_search2")} | |
65 | 65 | ] |
66 | 66 | } |
67 | 67 | } |
... | ... | @@ -99,7 +99,7 @@ module Searchkick |
99 | 99 | custom_filters << { |
100 | 100 | filter: { |
101 | 101 | exists: { |
102 | - field: options[:boost], | |
102 | + field: options[:boost] | |
103 | 103 | } |
104 | 104 | }, |
105 | 105 | script: "log(doc['#{options[:boost]}'].value + 2.718281828)" |
... | ... | @@ -111,7 +111,7 @@ module Searchkick |
111 | 111 | filter: { |
112 | 112 | term: { |
113 | 113 | personalize_field => options[:user_id] |
114 | - }, | |
114 | + } | |
115 | 115 | }, |
116 | 116 | boost: 100 |
117 | 117 | } | ... | ... |