YUKI Hiroshi
null+****@clear*****
Wed Dec 4 20:44:24 JST 2013
YUKI Hiroshi 2013-12-04 20:44:24 +0900 (Wed, 04 Dec 2013) New Revision: 8067b09bd54f2f25d7366269574d851a1846901f https://github.com/droonga/fluent-plugin-droonga/commit/8067b09bd54f2f25d7366269574d851a1846901f Message: Add comment for developers Modified files: lib/droonga/plugin/collector/basic.rb Modified: lib/droonga/plugin/collector/basic.rb (+2 -0) =================================================================== --- lib/droonga/plugin/collector/basic.rb 2013-12-04 20:42:44 +0900 (69d461a) +++ lib/droonga/plugin/collector/basic.rb 2013-12-04 20:44:24 +0900 (f1c27ca) @@ -35,6 +35,7 @@ module Droonga when "count" result[element] = result[mapper["target"]].size when "sort" + # do nothing on this phase! end end # phase 2: post-process @@ -46,6 +47,7 @@ module Droonga case mapper["type"] when "count" + # do nothing on this phase! when "sort" # because "count" type mapper requres all items of the array, # I have to apply "sort" type mapper later. -------------- next part -------------- HTML����������������������������...Download