Yoji Shidara
null+****@clear*****
Thu Dec 5 16:59:19 JST 2013
Yoji Shidara 2013-12-05 16:59:19 +0900 (Thu, 05 Dec 2013) New Revision: 0eb71498f6aabd137c6aacd983ad40fea8efbea5 https://github.com/droonga/fluent-plugin-droonga/commit/0eb71498f6aabd137c6aacd983ad40fea8efbea5 Message: Rename have_records? to has_records? Modified files: lib/droonga/plugin/distributor/distributed_search_plan.rb Modified: lib/droonga/plugin/distributor/distributed_search_plan.rb (+2 -2) =================================================================== --- lib/droonga/plugin/distributor/distributed_search_plan.rb 2013-12-05 16:58:06 +0900 (871da1d) +++ lib/droonga/plugin/distributor/distributed_search_plan.rb 2013-12-05 16:59:19 +0900 (f0d21b5) @@ -148,7 +148,7 @@ module Droonga end output_offset = @output["offset"] || 0 - @output["offset"] = 0 if have_records? + @output["offset"] = 0 if has_records? final_offset = sort_offset + output_offset @@ -186,7 +186,7 @@ module Droonga @records_limit = final_limit end - def have_records? + def has_records? @output["elements"].include?("records") end -------------- next part -------------- HTML����������������������������... Download