YUKI Hiroshi
null+****@clear*****
Fri Jan 24 14:33:56 JST 2014
YUKI Hiroshi 2014-01-24 14:33:56 +0900 (Fri, 24 Jan 2014) New Revision: 8b8017f10cd6a4a512900afafbc1592ccc7567ec https://github.com/droonga/fluent-plugin-droonga/commit/8b8017f10cd6a4a512900afafbc1592ccc7567ec Message: Define reducer for crud operations Modified files: lib/droonga/plugin/distributor/crud.rb Modified: lib/droonga/plugin/distributor/crud.rb (+5 -1) =================================================================== --- lib/droonga/plugin/distributor/crud.rb 2014-01-24 14:17:33 +0900 (5b599e2) +++ lib/droonga/plugin/distributor/crud.rb 2014-01-24 14:33:56 +0900 (857d497) @@ -44,7 +44,11 @@ module Droonga private def reducer(message) reducer = super - reducer["body"] + reducer["body"]["result"] = { + "result_reduced" => { + "type" => "and", + }, + } reducer["inputs"] << "result" reducer["outputs"] << "result_reduced" reducer -------------- next part -------------- HTML����������������������������...Download