Daijiro MORI
null+****@clear*****
Tue Apr 2 17:49:57 JST 2013
Daijiro MORI 2013-04-02 17:49:57 +0900 (Tue, 02 Apr 2013) New Revision: fbd39b3d4e27ad077d5374726fedf0e911bcee4d https://github.com/groonga/fluent-plugin-droonga/commit/fbd39b3d4e27ad077d5374726fedf0e911bcee4d Message: Move "offset" and "limit" parameters into "output" section Modified files: lib/droonga/plugin/handler_search.rb Modified: lib/droonga/plugin/handler_search.rb (+2 -2) =================================================================== --- lib/droonga/plugin/handler_search.rb 2013-04-02 17:46:10 +0900 (070042b) +++ lib/droonga/plugin/handler_search.rb 2013-04-02 17:49:57 +0900 (b02c2b1) @@ -125,8 +125,8 @@ module Droonga end results[name] = result if query["output"] - offset = query["offset"] || 0 - limit = query["limit"] || 10 + offset = query["output"]["offset"] || 0 + limit = query["output"]["limit"] || 10 outputs[name] = output = {} if query["output"]["count"] output["count"] = result.size -------------- next part -------------- HTML����������������������������...Download