[Groonga-commit] groonga/groonga at 945c603 [master] test: modify a vector column name to plural

Zurück zum Archiv-Index

Yasuhiro Horimoto null+****@clear*****
Tue Aug 14 11:59:06 JST 2018


Yasuhiro Horimoto	2018-08-14 11:59:06 +0900 (Tue, 14 Aug 2018)

  New Revision: 945c603c12dbe0a9e613c9215b6456211e73a1ab
  https://github.com/groonga/groonga/commit/945c603c12dbe0a9e613c9215b6456211e73a1ab

  Merged 4544544: Merge pull request #862 from komainu8/add_test_for_online_index

  Message:
    test: modify a vector column name to plural

  Modified files:
    test/command/suite/load/index/online/vector/full_text_hash.expected
    test/command/suite/load/index/online/vector/full_text_hash.test

  Modified: test/command/suite/load/index/online/vector/full_text_hash.expected (+4 -4)
===================================================================
--- test/command/suite/load/index/online/vector/full_text_hash.expected    2018-08-14 10:38:13 +0900 (8b0da16e1)
+++ test/command/suite/load/index/online/vector/full_text_hash.expected    2018-08-14 11:59:06 +0900 (886e39a0c)
@@ -1,14 +1,14 @@
 table_create Users TABLE_NO_KEY
 [[0,0.0,0.0],true]
-column_create Users name COLUMN_VECTOR ShortText
+column_create Users names COLUMN_VECTOR ShortText
 [[0,0.0,0.0],true]
 table_create Words TABLE_HASH_KEY --key_type ShortText   --default_tokenizer TokenBigramSplitSymbolAlpha
 [[0,0.0,0.0],true]
-column_create Words users_name COLUMN_INDEX|WITH_POSITION|WITH_SECTION Users name
+column_create Words users_name COLUMN_INDEX|WITH_POSITION|WITH_SECTION Users names
 [[0,0.0,0.0],true]
 load --table Users
 [
-["name"],
+["names"],
 [["Alice", "Bob"]],
 [["Bob"]]
 ]
@@ -31,7 +31,7 @@ select Users --match_columns "Words.users_name[1]" --query Bob
           "UInt32"
         ],
         [
-          "name",
+          "names",
           "ShortText"
         ]
       ],

  Modified: test/command/suite/load/index/online/vector/full_text_hash.test (+3 -3)
===================================================================
--- test/command/suite/load/index/online/vector/full_text_hash.test    2018-08-14 10:38:13 +0900 (8d2eb3fc8)
+++ test/command/suite/load/index/online/vector/full_text_hash.test    2018-08-14 11:59:06 +0900 (718a54320)
@@ -1,13 +1,13 @@
 table_create Users TABLE_NO_KEY
-column_create Users name COLUMN_VECTOR ShortText
+column_create Users names COLUMN_VECTOR ShortText
 
 table_create Words TABLE_HASH_KEY --key_type ShortText \
   --default_tokenizer TokenBigramSplitSymbolAlpha
-column_create Words users_name COLUMN_INDEX|WITH_POSITION|WITH_SECTION Users name
+column_create Words users_name COLUMN_INDEX|WITH_POSITION|WITH_SECTION Users names
 
 load --table Users
 [
-["name"],
+["names"],
 [["Alice", "Bob"]],
 [["Bob"]]
 ]
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180814/8b3b29aa/attachment-0001.htm 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index