Kouhei Sutou
null+****@clear*****
Thu Apr 2 19:29:13 JST 2015
Kouhei Sutou 2015-04-02 19:29:13 +0900 (Thu, 02 Apr 2015) New Revision: fa2db53eb57a489aee892ec960040ca97fd5e5db https://github.com/groonga/groonga/commit/fa2db53eb57a489aee892ec960040ca97fd5e5db Message: logical_range_filter: change threshold meaning * threshold <= 0.0: always use range index * threshold >= 1.0: never use range index Modified files: plugins/sharding/logical_range_filter.rb Modified: plugins/sharding/logical_range_filter.rb (+4 -1) =================================================================== --- plugins/sharding/logical_range_filter.rb 2015-04-02 18:55:55 +0900 (014599c) +++ plugins/sharding/logical_range_filter.rb 2015-04-02 19:29:13 +0900 (2986365) @@ -230,7 +230,10 @@ module Groonga end threshold =****@conte***** - if threshold <= 0 + if threshold <= 0.0 + return true + end + if threshold >= 1.0 return false end -------------- next part -------------- HTML����������������������������... 下載