YUKI Hiroshi
null+****@clear*****
Mon Jan 27 12:03:57 JST 2014
YUKI Hiroshi 2014-01-27 12:03:57 +0900 (Mon, 27 Jan 2014) New Revision: 8172edb7d5088b6bd808a7b884935d6d5dd35c7d https://github.com/droonga/fluent-plugin-droonga/commit/8172edb7d5088b6bd808a7b884935d6d5dd35c7d Message: Accept "false" value in the reducing phase (for the left value) Modified files: lib/droonga/plugin/collector/basic.rb Modified: lib/droonga/plugin/collector/basic.rb (+3 -3) =================================================================== --- lib/droonga/plugin/collector/basic.rb 2014-01-27 12:00:28 +0900 (5805828) +++ lib/droonga/plugin/collector/basic.rb 2014-01-27 12:03:57 +0900 (c6fd839) @@ -35,9 +35,9 @@ module Droonga command :collector_reduce def collector_reduce(request) body[input_name].each do |output, deal| - value = request - old_value = output_values[output] - value = reduce(deal, old_value, request) if old_value + left_value = output_values[output] + right_value = request + value = reduce(deal, left_value, right_value) emit(output, value) end end -------------- next part -------------- HTML����������������������������...Download