YUKI Hiroshi
null+****@clear*****
Thu Apr 2 17:45:43 JST 2015
YUKI Hiroshi 2015-04-02 17:45:43 +0900 (Thu, 02 Apr 2015) New Revision: 1274cd7d97544e10216f90fc80abfb9f491a6426 https://github.com/droonga/droonga-engine/commit/1274cd7d97544e10216f90fc80abfb9f491a6426 Message: Normalize routes in steps also Modified files: lib/droonga/dispatcher.rb Modified: lib/droonga/dispatcher.rb (+3 -1) =================================================================== --- lib/droonga/dispatcher.rb 2015-04-02 17:26:53 +0900 (104e20d) +++ lib/droonga/dispatcher.rb 2015-04-02 17:45:43 +0900 (ef4a29b) @@ -230,7 +230,9 @@ module Droonga end end routes = dataset.compute_routes(step, target_nodes) - step["routes"] = routes + step["routes"] = routes.collect do |route| + farm_path(route) + end else step["routes"] ||= [id] end -------------- next part -------------- HTML����������������������������... 다운로드