[Groonga-commit] ranguba/activegroonga at cf7c741 [master] test: follow dump result change in Rroonga

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jun 9 16:04:58 JST 2014


Kouhei Sutou	2014-06-09 16:04:58 +0900 (Mon, 09 Jun 2014)

  New Revision: cf7c741799fe823cb0a2b99eda1a1b992e9fc1b6
  https://github.com/ranguba/activegroonga/commit/cf7c741799fe823cb0a2b99eda1a1b992e9fc1b6

  Message:
    test: follow dump result change in Rroonga

  Modified files:
    test/active-groonga-test-utils.rb
    test/test-schema.rb

  Modified: test/active-groonga-test-utils.rb (+0 -4)
===================================================================
--- test/active-groonga-test-utils.rb    2013-09-04 13:03:37 +0900 (97bc90d)
+++ test/active-groonga-test-utils.rb    2014-06-09 16:04:58 +0900 (32440f8)
@@ -153,8 +153,6 @@ module ActiveGroongaTestUtils
     path = @bookmarks_comment_index_column_path.to_s
     @bookmarks_comment_index_column =
       @terms.define_index_column("bookmarks_comment", @bookmarks,
-                                 :with_section => true,
-                                 :with_weight => true,
                                  :with_position => true,
                                  :path => path)
     @bookmarks_comment_index_column.source = @comment_column
@@ -163,8 +161,6 @@ module ActiveGroongaTestUtils
     path = @bookmarks_content_index_column_path.to_s
     @bookmarks_content_index_column =
       @terms.define_index_column("bookmarks_content", @bookmarks,
-                                 :with_section => true,
-                                 :with_weight => true,
                                  :with_position => true,
                                  :path => path)
     @bookmarks_content_index_column.source = @content_column

  Modified: test/test-schema.rb (+2 -2)
===================================================================
--- test/test-schema.rb    2013-09-04 13:03:37 +0900 (c3c8afa)
+++ test/test-schema.rb    2014-06-09 16:04:58 +0900 (c1d0205)
@@ -136,8 +136,8 @@ ActiveGroonga::Schema.define(:version => 0) do |schema|
     end
 
     change_table("terms") do |table|
-      table.index("bookmarks", "comment", :name => "bookmarks_comment")
-      table.index("bookmarks", "content", :name => "bookmarks_content")
+      table.index("bookmarks", "comment", :name => "bookmarks_comment", :with_position => true)
+      table.index("bookmarks", "content", :name => "bookmarks_content", :with_position => true)
     end
   end
 end
-------------- next part --------------
HTML����������������������������...
Download 



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