[Groonga-commit] groonga/fluent-plugin-droonga at 4c68429 [master] Follow rroonga's behavior

Back to archive index

Daijiro MORI null+****@clear*****
Thu Jul 4 18:42:46 JST 2013


Daijiro MORI	2013-07-04 18:42:46 +0900 (Thu, 04 Jul 2013)

  New Revision: 4c684291e32aabd6d454978fda263c938b6f7fcc
  https://github.com/groonga/fluent-plugin-droonga/commit/4c684291e32aabd6d454978fda263c938b6f7fcc

  Message:
    Follow rroonga's behavior

  Modified files:
    lib/droonga/plugin/handler_search.rb

  Modified: lib/droonga/plugin/handler_search.rb (+2 -2)
===================================================================
--- lib/droonga/plugin/handler_search.rb    2013-07-04 17:59:11 +0900 (ed9eaea)
+++ lib/droonga/plugin/handler_search.rb    2013-07-04 18:42:46 +0900 (75cfff1)
@@ -286,12 +286,12 @@ module Droonga
       def record_value(record, attribute)
         if attribute[:source] == "_subrecs"
           if @query["output"]["format"] == "complex"
-            record.collect do |sub_record|
+            record.sub_records.collect do |sub_record|
               target_attributes = resolve_attributes(attribute, sub_record)
               complex_record(target_attributes, sub_record)
             end
           else
-            record.collect do |sub_record|
+            record.sub_records.collect do |sub_record|
               target_attributes = resolve_attributes(attribute, sub_record)
               simple_record(target_attributes, sub_record)
             end
-------------- next part --------------
HTML����������������������������...
Download 



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