[Groonga-commit] droonga/fluent-plugin-droonga at 22daaad [master] Override final limit to calculate actual count of grouped results

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Dec 4 19:49:13 JST 2013


YUKI Hiroshi	2013-12-04 19:49:13 +0900 (Wed, 04 Dec 2013)

  New Revision: 22daaad77116c510ab91a2456a0cd4585b576038
  https://github.com/droonga/fluent-plugin-droonga/commit/22daaad77116c510ab91a2456a0cd4585b576038

  Message:
    Override final limit to calculate actual count of grouped results

  Modified files:
    lib/droonga/plugin/distributor/search.rb

  Modified: lib/droonga/plugin/distributor/search.rb (+1 -0)
===================================================================
--- lib/droonga/plugin/distributor/search.rb    2013-12-04 19:45:05 +0900 (9ac38fd)
+++ lib/droonga/plugin/distributor/search.rb    2013-12-04 19:49:13 +0900 (d2c42da)
@@ -74,6 +74,7 @@ module Droonga
               "target" => "records",
             }
             unless output["elements"].include?("records")
+              final_limit = -1
               output["elements"] << "records"
               output["attributes"] ||= ["_key"]
               mapper["drop_elements"] = ["records"]
-------------- next part --------------
HTML����������������������������...
Download 



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