[Groonga-commit] droonga/fluent-plugin-droonga at 5d75cd4 [master] Fix outputs.

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Feb 3 11:39:33 JST 2014


YUKI Hiroshi	2014-02-03 11:39:33 +0900 (Mon, 03 Feb 2014)

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

  Message:
    Fix outputs.
    
    They are outputs of the handler, not reducer.

  Modified files:
    lib/droonga/distributed_command_planner.rb
    lib/droonga/plugin/distributor/distributed_search_planner.rb

  Modified: lib/droonga/distributed_command_planner.rb (+1 -1)
===================================================================
--- lib/droonga/distributed_command_planner.rb    2014-02-03 11:37:39 +0900 (c47332f)
+++ lib/droonga/distributed_command_planner.rb    2014-02-03 11:39:33 +0900 (d7850b0)
@@ -43,7 +43,7 @@ module Droonga
     def reduce(name, reducer)
       @reducers << reducer_message("reduce", name, reducer)
       @gatherers << gatherer_message("gather", name)
-      @outputs << output_name(name)
+      @outputs << name
     end
 
     def scatter(body=nil)

  Modified: lib/droonga/plugin/distributor/distributed_search_planner.rb (+1 -1)
===================================================================
--- lib/droonga/plugin/distributor/distributed_search_planner.rb    2014-02-03 11:37:39 +0900 (a2e60d2)
+++ lib/droonga/plugin/distributor/distributed_search_planner.rb    2014-02-03 11:39:33 +0900 (99beae5)
@@ -85,7 +85,7 @@ module Droonga
     def reduce(name, reducer, gatherer={})
       @reducers << reducer_message("search_reduce", name, reducer)
       @gatherers << gatherer_message("search_gather", name, gatherer)
-      @outputs << output_name(name)
+      @outputs << name
     end
 
     class QueryTransformer
-------------- next part --------------
HTML����������������������������...
Download 



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