YUKI Hiroshi
null+****@clear*****
Wed Nov 27 18:48:23 JST 2013
YUKI Hiroshi 2013-11-27 18:48:23 +0900 (Wed, 27 Nov 2013) New Revision: 8144e1a7ad06bd59f210734738fa69b44dd99451 https://github.com/droonga/fluent-plugin-droonga/commit/8144e1a7ad06bd59f210734738fa69b44dd99451 Message: Add comma to the last element Modified files: lib/droonga/plugin/distributor/search.rb Modified: lib/droonga/plugin/distributor/search.rb (+4 -4) =================================================================== --- lib/droonga/plugin/distributor/search.rb 2013-11-27 18:41:57 +0900 (97d2973) +++ lib/droonga/plugin/distributor/search.rb 2013-11-27 18:48:23 +0900 (e0e8285) @@ -52,8 +52,8 @@ module Droonga "type"=> "reduce", "body"=> { input_name=> { - output_name=> elements - } + output_name=> elements, + }, } } message << reducer @@ -62,7 +62,7 @@ module Droonga "inputs"=> output_names, "type"=> "gather", "body"=> name_mapper, - "post"=> true + "post"=> true, } message << gatherer searcher = { @@ -71,7 +71,7 @@ module Droonga "type"=> "broadcast", "command"=> "search", "replica"=> "random", - "body"=> request + "body"=> request, } message.push(searcher) post(message) -------------- next part -------------- HTML����������������������������...Download