[Groonga-commit] groonga/groonga at 210b7d3 [master] logical_range_filter: remove GRN_LOGICAL_RANGE_FILTER_ENABLED

Back to archive index

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


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

  New Revision: 210b7d3611d72c836d88c2a124678be9b0247827
  https://github.com/groonga/groonga/commit/210b7d3611d72c836d88c2a124678be9b0247827

  Message:
    logical_range_filter: remove GRN_LOGICAL_RANGE_FILTER_ENABLED
    
    Use GRN_LOGICAL_RANGE_FILTER_THRESHOLD=0 to disable range index search
    feature.

  Modified files:
    plugins/sharding/logical_range_filter.rb

  Modified: plugins/sharding/logical_range_filter.rb (+0 -2)
===================================================================
--- plugins/sharding/logical_range_filter.rb    2015-04-02 16:26:25 +0900 (c4479a1)
+++ plugins/sharding/logical_range_filter.rb    2015-04-02 16:28:11 +0900 (88421cc)
@@ -255,8 +255,6 @@ module Groonga
         end
 
         def use_range_index?(range_index)
-          return false unless ENV["GRN_LOGICAL_RANGE_FILTER_ENABLED"] == "yes"
-
           required_n_records =****@conte*****_offset +****@conte*****_limit
           max_n_records =****@table*****
           if max_n_records <= required_n_records
-------------- next part --------------
HTML����������������������������...
下载 



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