[Groonga-commit] ranguba/groonga-client at 27db250 [support-slices] Order methods

Back to archive index

Masafumi Yokoyama null+****@clear*****
Tue Dec 6 17:15:11 JST 2016


Masafumi Yokoyama	2016-12-06 17:15:11 +0900 (Tue, 06 Dec 2016)

  New Revision: 27db250e0b4d96297a1fab016c31f3be8150336e
  https://github.com/ranguba/groonga-client/commit/27db250e0b4d96297a1fab016c31f3be8150336e

  Message:
    Order methods

  Modified files:
    lib/groonga/client/response/select.rb

  Modified: lib/groonga/client/response/select.rb (+9 -9)
===================================================================
--- lib/groonga/client/response/select.rb    2016-12-06 17:09:54 +0900 (7da52e1)
+++ lib/groonga/client/response/select.rb    2016-12-06 17:15:11 +0900 (73a1a6c)
@@ -154,15 +154,6 @@ module Groonga
           end
         end
 
-        def parse_slices_v1(raw_slices)
-          slices = {}
-          (raw_slices || {}).each do |key, slice_body|
-            n_hits, body = parse_match_records_v1(slice_body)
-            slices[key] = body
-          end
-          slices
-        end
-
         def parse_drilldowns_v3(raw_drilldowns)
           drilldowns = {}
           (raw_drilldowns || {}).each do |key, raw_drilldown|
@@ -172,6 +163,15 @@ module Groonga
           drilldowns
         end
 
+        def parse_slices_v1(raw_slices)
+          slices = {}
+          (raw_slices || {}).each do |key, slice_body|
+            n_hits, body = parse_match_records_v1(slice_body)
+            slices[key] = body
+          end
+          slices
+        end
+
         def parse_slices_v3(raw_slices)
           slices = {}
           (raw_slices || {}).each do |key, records|
-------------- next part --------------
HTML����������������������������...
Download 



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