[Groonga-commit] droonga/droonga-engine at ffd302b [master] Return parsed value as a response from node

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Jul 23 17:06:37 JST 2014


YUKI Hiroshi	2014-07-23 17:06:37 +0900 (Wed, 23 Jul 2014)

  New Revision: ffd302b82d5d94b47e24c438fe818cb6a47a4de5
  https://github.com/droonga/droonga-engine/commit/ffd302b82d5d94b47e24c438fe818cb6a47a4de5

  Message:
    Return parsed value as a response from node

  Modified files:
    lib/droonga/serf.rb

  Modified: lib/droonga/serf.rb (+2 -1)
===================================================================
--- lib/droonga/serf.rb    2014-07-23 17:01:44 +0900 (0e5f0f1)
+++ lib/droonga/serf.rb    2014-07-23 17:06:37 +0900 (c3025c7)
@@ -118,7 +118,8 @@ module Droonga
       result = run_once("query", *options)
       if payload["node"]
         responses = result[:result]["Responses"]
-        result[:response] = responses[payload["node"]]
+        response = responses[payload["node"]]
+        result[:response] = JSON.parse(response)
       end
       result
     end
-------------- next part --------------
HTML����������������������������...
Download 



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