[Groonga-commit] droonga/fluent-plugin-droonga at d5c20b1 [master] Define RecursiveSource error type for the search command

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Dec 26 19:01:18 JST 2013


YUKI Hiroshi	2013-12-26 19:01:18 +0900 (Thu, 26 Dec 2013)

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

  Message:
    Define RecursiveSource error type for the search command

  Modified files:
    lib/droonga/searcher.rb

  Modified: lib/droonga/searcher.rb (+7 -0)
===================================================================
--- lib/droonga/searcher.rb    2013-12-26 18:59:51 +0900 (8619cf2)
+++ lib/droonga/searcher.rb    2013-12-26 19:01:18 +0900 (371c75d)
@@ -37,6 +37,13 @@ module Droonga
       end
     end
 
+    class RecursiveSource < BadRequest
+      def initialize(queries)
+        super("There is recursion of sources.",
+              queries)
+      end
+    end
+
     def initialize(context)
       @context = context
     end
-------------- next part --------------
HTML����������������������������...
下载 



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