[Groonga-commit] droonga/fluent-plugin-droonga at 4752f8b [master] Reorder classes to become SearchRequest first

Back to archive index

Yoji Shidara null+****@clear*****
Thu Dec 19 16:57:16 JST 2013


Yoji Shidara	2013-12-19 16:57:16 +0900 (Thu, 19 Dec 2013)

  New Revision: 4752f8bc78ae30a3ef0c3918baebf24c5e86cec4
  https://github.com/droonga/fluent-plugin-droonga/commit/4752f8bc78ae30a3ef0c3918baebf24c5e86cec4

  Message:
    Reorder classes to become SearchRequest first

  Modified files:
    lib/droonga/searcher.rb

  Modified: lib/droonga/searcher.rb (+12 -12)
===================================================================
--- lib/droonga/searcher.rb    2013-12-19 16:52:23 +0900 (779a9ad)
+++ lib/droonga/searcher.rb    2013-12-19 16:57:16 +0900 (0a323b0)
@@ -114,18 +114,6 @@ module Droonga
       end
     end
 
-    class SearchResult
-      attr_accessor :start_time, :end_time, :condition, :records, :count
-
-      def initialize
-        @start_time = nil
-        @end_time = nil
-        @condition = nil
-        @records = nil
-        @count = nil
-      end
-    end
-
     class SearchRequest
       attr_reader :context, :query, :resolved_results
 
@@ -140,6 +128,18 @@ module Droonga
       end
     end
 
+    class SearchResult
+      attr_accessor :start_time, :end_time, :condition, :records, :count
+
+      def initialize
+        @start_time = nil
+        @end_time = nil
+        @condition = nil
+        @records = nil
+        @count = nil
+      end
+    end
+
     class QuerySearcher
       def initialize(search_request)
         @request = search_request
-------------- next part --------------
HTML����������������������������...
Download 



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