[Groonga-commit] droonga/fluent-plugin-droonga at d3ea2f5 [master] Add expected output of "attributes"

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Nov 27 18:41:57 JST 2013


YUKI Hiroshi	2013-11-27 18:41:57 +0900 (Wed, 27 Nov 2013)

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

  Message:
    Add expected output of "attributes"

  Modified files:
    lib/droonga/searcher.rb

  Modified: lib/droonga/searcher.rb (+4 -0)
===================================================================
--- lib/droonga/searcher.rb    2013-11-27 18:34:06 +0900 (f08674e)
+++ lib/droonga/searcher.rb    2013-11-27 18:41:57 +0900 (2b71e87)
@@ -296,8 +296,12 @@ module Droonga
         # XXX IMPLEMENT ME!!!
         attributes = nil
         if @query["output"]["format"] == "complex"
+          # should convert columnst to an object like:
+          # {"_id" => {"type" => "UInt32", "vector" => false}}
           attributes = {}
         else
+          # should convert columnst to an object like:
+          # [{"name" => "_id", "type" => "UInt32", "vector" => false}]
           attributes = []
         end
 
-------------- next part --------------
HTML����������������������������...
Download 



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