[Groonga-commit] droonga/fluent-plugin-droonga at 838d19e [master] Add a debug log for debugging on Travis CI

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Apr 8 11:20:09 JST 2014


Kouhei Sutou	2014-04-08 11:20:09 +0900 (Tue, 08 Apr 2014)

  New Revision: 838d19ee65522f4838ba66b45b2b89fb41333d5a
  https://github.com/droonga/fluent-plugin-droonga/commit/838d19ee65522f4838ba66b45b2b89fb41333d5a

  Message:
    Add a debug log for debugging on Travis CI
    
    It will be removed soon.

  Modified files:
    lib/droonga/searcher.rb

  Modified: lib/droonga/searcher.rb (+9 -0)
===================================================================
--- lib/droonga/searcher.rb    2014-04-07 19:07:24 +0900 (306ed45)
+++ lib/droonga/searcher.rb    2014-04-08 11:20:09 +0900 (9d40f54)
@@ -358,6 +358,15 @@ module Droonga
           column =****@reque*****(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,
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index