lib/mebla/search.rb in mebla-1.1.5 vs lib/mebla/search.rb in mebla-1.1.6

- old
+ new

@@ -189,10 +189,10 @@ def hits return @results if @results # Log search query Mebla.log("Searching:\n#{@slingshot_search.to_json.to_s}", :debug) response = @slingshot_search.perform.json - Mebla.log("Response:\n#{response}", :info) + Mebla.log("Response:\n#{response.to_json.to_s}", :info) @results = Mebla::ResultSet.new(response) # Log results statistics Mebla.log("Searched for:\n#{@slingshot_search.to_json.to_s}\ngot #{@results.total} documents in #{@results.time} ms", :debug) @results end \ No newline at end of file