[Groonga-commit] groonga/fluent-plugin-groonga at c655999 [master] out: use new groonga-client convenient API

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Jan 16 10:00:30 JST 2018


Kouhei Sutou	2018-01-16 10:00:30 +0900 (Tue, 16 Jan 2018)

  New Revision: c655999d212166471b4d07cfb86cebb489a532f5
  https://github.com/groonga/fluent-plugin-groonga/commit/c655999d212166471b4d07cfb86cebb489a532f5

  Message:
    out: use new groonga-client convenient API

  Modified files:
    lib/fluent/plugin/out_groonga.rb

  Modified: lib/fluent/plugin/out_groonga.rb (+1 -2)
===================================================================
--- lib/fluent/plugin/out_groonga.rb    2018-01-16 09:24:17 +0900 (00e4e55)
+++ lib/fluent/plugin/out_groonga.rb    2018-01-16 10:00:30 +0900 (6928309)
@@ -344,8 +344,7 @@ module Fluent
           @columns = {}
           column_list.each do |column|
             name = column.name
-            vector_p = column.flags.split("|").include?("COLUMN_VECTOR")
-            @columns[name] = Column.new(name, column.range, vector_p)
+            @columns[name] = Column.new(name, column.range, column.vector?)
             ensure_column_indexes(name)
           end
         end
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180116/2033cecc/attachment.htm 



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