Skip to content

Commit

Permalink
Don't log elasticsearch results
Browse files Browse the repository at this point in the history
  • Loading branch information
marwahaha committed Apr 23, 2024
1 parent ab741fa commit 4ec1958
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/lib/search.rb
Expand Up @@ -216,7 +216,8 @@ def self.drop(name=nil)
module Search::Paper
def self.es_find(params)
res = Search.es.search index: Search.index_name, body: params
puts " Elasticsearch (#{res['took']}ms) #{params}"
puts " Elasticsearch (#{res['took']}ms) "
# puts "Elasticsearch results: #{params}"
res
end

Expand Down

0 comments on commit 4ec1958

Please sign in to comment.