YUKI Hiroshi
null+****@clear*****
Thu Nov 28 16:43:14 JST 2013
YUKI Hiroshi 2013-11-28 16:43:14 +0900 (Thu, 28 Nov 2013) New Revision: 5110a529be59b9feeaf9572275998cde3ce3e22a https://github.com/droonga/fluent-plugin-droonga/commit/5110a529be59b9feeaf9572275998cde3ce3e22a Message: Use more suitable name for the key of mapper Modified files: lib/droonga/plugin/distributor/search.rb test/unit/plugin/distributor/test_search.rb Modified: lib/droonga/plugin/distributor/search.rb (+1 -1) =================================================================== --- lib/droonga/plugin/distributor/search.rb 2013-11-28 16:36:43 +0900 (746f2db) +++ lib/droonga/plugin/distributor/search.rb 2013-11-28 16:43:14 +0900 (57abb25) @@ -36,7 +36,7 @@ module Droonga output_name = input_name + "_reduced" output_names << output_name output_mapper[output_name] = { - "source" => input_name, + "output" => input_name, } # override the format, because the collector can/should handle only array type records... Modified: test/unit/plugin/distributor/test_search.rb (+1 -1) =================================================================== --- test/unit/plugin/distributor/test_search.rb 2013-11-28 16:36:43 +0900 (5991020) +++ test/unit/plugin/distributor/test_search.rb 2013-11-28 16:43:14 +0900 (dfaeead) @@ -808,7 +808,7 @@ class SearchDistributorTest < Test::Unit::TestCase unless options[:no_output] output = { - "source" => query_name, + "output" => query_name, } if options[:element] output.merge!({ -------------- next part -------------- HTML����������������������������...Download