Navigation Menu

Skip to content

Commit

Permalink
Add a debug log for debugging on Travis CI
Browse files Browse the repository at this point in the history
It will be removed soon.
  • Loading branch information
kou committed Apr 8, 2014
1 parent 13d1955 commit 838d19e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/droonga/searcher.rb
Expand Up @@ -358,6 +358,15 @@ def apply_adjusters!(adjusters)
column = @request.source.column(column_name)
index, = column.indexes(:match)
# TODO: add index.nil? check
if index.nil?
# Temporary. It is just for debug on Travis CI.
logger.error("search_query: adjusters: adjuster: not found index",
:column_name => column_name,
:value => value,
:factor => factor,
:column => column,
:dump => Groonga::Schema.dump(:context => @request.context))
end
# TODO: add value.nil? check
index.search(value,
:result => @records,
Expand Down

0 comments on commit 838d19e

Please sign in to comment.