[Groonga-commit] droonga/fluent-plugin-droonga at 4206b24 [master] Introduce SearchRequest#output method

Back to archive index

Yoji Shidara null+****@clear*****
Thu Dec 19 17:51:51 JST 2013


Yoji Shidara	2013-12-19 17:51:51 +0900 (Thu, 19 Dec 2013)

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

  Message:
    Introduce SearchRequest#output method

  Modified files:
    lib/droonga/searcher.rb

  Modified: lib/droonga/searcher.rb (+5 -1)
===================================================================
--- lib/droonga/searcher.rb    2013-12-19 17:46:50 +0900 (f39137e)
+++ lib/droonga/searcher.rb    2013-12-19 17:51:51 +0900 (d2693c2)
@@ -126,8 +126,12 @@ module Droonga
         @query.has_key?("output")
       end
 
+      def output
+        @query["output"]
+      end
+
       def complex_output?
-        @query["output"]["format"] == "complex"
+        output["format"] == "complex"
       end
     end
 
-------------- next part --------------
HTML����������������������������...
Download 



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