[groonga-commit:480] groonga [groonga (trunk) r502] * don't use colon.

null at cozmixng.org null at cozmixng.org
Fri Jul 17 13:10:41 EDT 2009


retro	2009-07-18 02:10:41 +0900 (Sat, 18 Jul 2009)

  New Revision: 502

  Log:
    * don't use colon.
  Modified files:
    groonga/trunk/test/test-column.rb


  Modified: groonga/trunk/test/test-column.rb (+4 -4)
===================================================================
--- groonga/trunk/test/test-column.rb	2009-07-18 02:05:17 -15:00 (rev 501)
+++ groonga/trunk/test/test-column.rb	2009-07-18 02:10:41 -15:00 (rev 502)
@@ -61,12 +61,12 @@
     @bookmarks_index =
       Groonga::PatriciaTrie.create(:name => "bookmarks-index",
                                    :path => @bookmarks_index_path.to_s,
-                                   :key_type => "<shorttext>")
-    @bookmarks_index.default_tokenizer = "<token:bigram>"
+                                   :key_type => "ShortText")
+    @bookmarks_index.default_tokenizer = "TokenBigram"
 
     @content_index_column_path = @columns_dir + "content-index"
     @bookmarks_index_content =
-      @bookmarks_index.define_index_column("<index:content>", @bookmarks,
+      @bookmarks_index.define_index_column("content", @bookmarks,
                                            :with_section => true,
                                            :with_weight => true,
                                            :with_position => true,
@@ -74,7 +74,7 @@
 
     @uri_index_column_path = @columns_dir + "uri-index"
     @bookmarks_index_uri =
-      @bookmarks_index.define_index_column("<index:uri>", @bookmarks,
+      @bookmarks_index.define_index_column("uri", @bookmarks,
                                            :path => @uri_index_column_path.to_s)
   end
 



More information about the groonga-commit mailing list