[Groonga-commit] groonga/groonga at 2c93dfe [master] logical_range_filter: use more suitable default value

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Apr 2 16:28:54 JST 2015


Kouhei Sutou	2015-04-02 16:28:54 +0900 (Thu, 02 Apr 2015)

  New Revision: 2c93dfe8333e9a39725a9473a5d6a4ad7694241d
  https://github.com/groonga/groonga/commit/2c93dfe8333e9a39725a9473a5d6a4ad7694241d

  Message:
    logical_range_filter: use more suitable default value

  Modified files:
    plugins/sharding/logical_range_filter.rb

  Modified: plugins/sharding/logical_range_filter.rb (+1 -1)
===================================================================
--- plugins/sharding/logical_range_filter.rb    2015-04-02 16:28:11 +0900 (88421cc)
+++ plugins/sharding/logical_range_filter.rb    2015-04-02 16:28:54 +0900 (8d0192d)
@@ -101,7 +101,7 @@ module Groonga
 
         def compute_threshold
           threshold_env = ENV["GRN_LOGICAL_RANGE_FILTER_THRESHOLD"]
-          default_threshold = 0.000058 # 15000 / 259200000.0
+          default_threshold = 0.2
           (threshold_env || default_threshold).to_f
         end
       end
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index