[Groonga-commit] groonga/fluent-plugin-droonga at 5a60bb9 [master] Use static value for simple records correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed May 29 13:41:32 JST 2013


YUKI Hiroshi	2013-05-29 13:41:32 +0900 (Wed, 29 May 2013)

  New Revision: 5a60bb9900b7ef5fe80a2b747f3be0e7b8c26691
  https://github.com/groonga/fluent-plugin-droonga/commit/5a60bb9900b7ef5fe80a2b747f3be0e7b8c26691

  Message:
    Use static value for simple records correctly

  Modified files:
    lib/droonga/plugin/handler_search.rb

  Modified: lib/droonga/plugin/handler_search.rb (+1 -1)
===================================================================
--- lib/droonga/plugin/handler_search.rb    2013-05-29 13:39:12 +0900 (efc63ae)
+++ lib/droonga/plugin/handler_search.rb    2013-05-29 13:41:32 +0900 (37c8004)
@@ -264,7 +264,7 @@ module Droonga
 
       def simple_record(attributes, record)
         attributes.collect do |attribute|
-          record[attributes[:static_value] || attribute[:source]]
+          attributes[:static_value] || record[attribute[:source]]
         end
       end
 
-------------- next part --------------
HTML����������������������������...
다운로드 



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