YUKI Hiroshi
null+****@clear*****
Thu Dec 5 14:26:42 JST 2013
YUKI Hiroshi 2013-12-05 14:26:42 +0900 (Thu, 05 Dec 2013) New Revision: d44086237b2a6a42ea63781162393b3e1040345e https://github.com/droonga/fluent-plugin-droonga/commit/d44086237b2a6a42ea63781162393b3e1040345e Message: Re-apply changes in 9add8d1a43e7fae227d279ab20755a19b1e4520a Modified files: lib/droonga/plugin/distributor/distributed_search_plan.rb Modified: lib/droonga/plugin/distributor/distributed_search_plan.rb (+3 -3) =================================================================== --- lib/droonga/plugin/distributor/distributed_search_plan.rb 2013-12-05 14:22:49 +0900 (0cfc5b7) +++ lib/droonga/plugin/distributor/distributed_search_plan.rb 2013-12-05 14:26:42 +0900 (fe83b39) @@ -144,7 +144,7 @@ module Droonga end # Offset for workers must be zero, because we have to apply "limit" and - # "offset" on the last gapthering phase instaed of each reducing phase. + # "offset" on the last gathering phase instead of each reducing phase. sort_offset = 0 if rich_sort sort_offset = @query["sortBy"]["offset"] || 0 @@ -236,7 +236,7 @@ module Droonga # On the reducing phase, we apply only "limit". We cannot apply # "offset" on this phase because the collector merges a pair of # results step by step even if there are three or more results. - # Instead, we apply "offset" on the gethering phase. + # Instead, we apply "offset" on the gathering phase. reducer["limit"] = @output["limit"] @reducers["records"] = reducer @@ -320,7 +320,7 @@ module Droonga sort_attributes.reject! do |attribute| attributes.include?(attribute) end - sort_attributes + sort_attributes end ASCENDING_OPERATOR = "<".freeze -------------- next part -------------- HTML����������������������������...Télécharger