[Groonga-commit] droonga/fluent-plugin-droonga at a80c95e [master] Use search collector

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Jan 24 15:27:03 JST 2014


YUKI Hiroshi	2014-01-24 15:27:03 +0900 (Fri, 24 Jan 2014)

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

  Message:
    Use search collector

  Modified files:
    test/unit/plugin/distributor/test_search_planner.rb

  Modified: test/unit/plugin/distributor/test_search_planner.rb (+6 -6)
===================================================================
--- test/unit/plugin/distributor/test_search_planner.rb    2014-01-24 15:14:23 +0900 (afaa10c)
+++ test/unit/plugin/distributor/test_search_planner.rb    2014-01-24 15:27:03 +0900 (88d2f72)
@@ -66,7 +66,7 @@ class DistributedSearchPlannerTest < Test::Unit::TestCase
       expected_plan = []
 
       expected_plan << {
-        "type" => "reduce",
+        "type" => "search_reduce",
         "body" => {
           "query1" => {
             "query1_reduced" => {
@@ -85,7 +85,7 @@ class DistributedSearchPlannerTest < Test::Unit::TestCase
         "outputs" => ["query1_reduced"],
       }
       expected_plan << {
-        "type" => "reduce",
+        "type" => "search_reduce",
         "body" => {
           "query2" => {
             "query2_reduced" => {
@@ -104,7 +104,7 @@ class DistributedSearchPlannerTest < Test::Unit::TestCase
         "outputs" => ["query2_reduced"],
       }
       expected_plan << {
-        "type" => "reduce",
+        "type" => "search_reduce",
         "body" => {
           "query3" => {
             "query3_reduced" => {
@@ -124,7 +124,7 @@ class DistributedSearchPlannerTest < Test::Unit::TestCase
       }
 
       gatherer = {
-        "type" => "gather",
+        "type" => "search_gather",
         "body" => {
           "query1_reduced" => {
             "output" => "query1",
@@ -987,7 +987,7 @@ class DistributedSearchPlannerTest < Test::Unit::TestCase
       query_name = queries.keys.first
 
       reducer = {
-        "type" => "reduce",
+        "type" => "search_reduce",
         "body" => {
           query_name => {
             "#{query_name}_reduced" => reducer_body,
@@ -1027,7 +1027,7 @@ class DistributedSearchPlannerTest < Test::Unit::TestCase
       query_name = queries.keys.first
 
       gatherer = {
-        "type" => "gather",
+        "type" => "search_gather",
         "body" => {
         },
         "inputs" => [
-------------- next part --------------
HTML����������������������������...
Download 



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