[Groonga-commit] ranguba/groonga-client at 28506d2 [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: 28506d2371004b53efc9d03fb09d7de654918c88
  https://github.com/ranguba/groonga-client/commit/28506d2371004b53efc9d03fb09d7de654918c88

  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 (ddadd28)
+++ lib/groonga/client/response/select.rb    2016-12-06 17:15:11 +0900 (98f4d18)
@@ -142,15 +142,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|
@@ -160,6 +151,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����������������������������...
다운로드 



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