YUKI Hiroshi
null+****@clear*****
Fri Jan 24 13:15:18 JST 2014
YUKI Hiroshi 2014-01-24 13:15:18 +0900 (Fri, 24 Jan 2014) New Revision: ab7d8555455b2b3fc8a793de6a93ca7b5ee1fdf7 https://github.com/droonga/fluent-plugin-droonga/commit/ab7d8555455b2b3fc8a793de6a93ca7b5ee1fdf7 Message: Return result of "add" command as a hash instead of a boolean. Because it is hard to be handled by reducer/gatherer/collector. Modified files: lib/droonga/plugin/handler/add.rb Modified: lib/droonga/plugin/handler/add.rb (+4 -1) =================================================================== --- lib/droonga/plugin/handler/add.rb 2014-01-24 11:54:53 +0900 (5a06114) +++ lib/droonga/plugin/handler/add.rb 2014-01-24 13:15:18 +0900 (0b774c5) @@ -59,7 +59,10 @@ module Droonga command :add def add(message, messenger) - outputs = process_add(message.request) + succeeded = process_add(message.request) + outputs = { + "success" => succeeded + } messenger.emit(outputs) end -------------- next part -------------- HTML����������������������������...Download