Commit 925d61b31b59d1ccb21b6cdae14f305f0766878d
1 parent
f88c015d
Exists in
master
and in
21 other branches
Added query to debug
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
lib/searchkick/query.rb
@@ -148,6 +148,10 @@ module Searchkick | @@ -148,6 +148,10 @@ module Searchkick | ||
148 | puts JSON.pretty_generate(searchkick_index.settings) | 148 | puts JSON.pretty_generate(searchkick_index.settings) |
149 | puts | 149 | puts |
150 | 150 | ||
151 | + puts "Elasticsearch Query" | ||
152 | + puts to_curl | ||
153 | + puts | ||
154 | + | ||
151 | puts "Elasticsearch Results" | 155 | puts "Elasticsearch Results" |
152 | puts JSON.pretty_generate(response) | 156 | puts JSON.pretty_generate(response) |
153 | end | 157 | end |