[Groonga-commit] groonga/groonga at 26101d8 [master] test: fix invalid full text index

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Jul 31 12:34:46 JST 2018


Kouhei Sutou	2018-07-31 12:34:46 +0900 (Tue, 31 Jul 2018)

  New Revision: 26101d826d2f2c15f78d5768b03cb3d4619d640f
  https://github.com/groonga/groonga/commit/26101d826d2f2c15f78d5768b03cb3d4619d640f

  Message:
    test: fix invalid full text index

  Modified files:
    test/command/suite/load/index/offline/vector/full_text.expected
    test/command/suite/load/index/offline/vector/full_text.test

  Modified: test/command/suite/load/index/offline/vector/full_text.expected (+3 -3)
===================================================================
--- test/command/suite/load/index/offline/vector/full_text.expected    2018-07-30 17:16:18 +0900 (feef26b38)
+++ test/command/suite/load/index/offline/vector/full_text.expected    2018-07-31 12:34:46 +0900 (566ffa308)
@@ -5,13 +5,13 @@ column_create Users name COLUMN_VECTOR ShortText
 load --table Users
 [
 ["name"],
-["Alice"],
-["Bob"]
+[["Alice"]],
+[["Bob"]]
 ]
 [[0,0.0,0.0],2]
 table_create Words TABLE_PAT_KEY --key_type ShortText   --default_tokenizer TokenBigramSplitSymbolAlpha
 [[0,0.0,0.0],true]
-column_create Words users_name COLUMN_INDEX Users name
+column_create Words users_name COLUMN_INDEX|WITH_POSITION|WITH_SECTION Users name
 [[0,0.0,0.0],true]
 select Words --output_columns _key
 [

  Modified: test/command/suite/load/index/offline/vector/full_text.test (+3 -3)
===================================================================
--- test/command/suite/load/index/offline/vector/full_text.test    2018-07-30 17:16:18 +0900 (54a24e501)
+++ test/command/suite/load/index/offline/vector/full_text.test    2018-07-31 12:34:46 +0900 (171d24aae)
@@ -4,12 +4,12 @@ column_create Users name COLUMN_VECTOR ShortText
 load --table Users
 [
 ["name"],
-["Alice"],
-["Bob"]
+[["Alice"]],
+[["Bob"]]
 ]
 
 table_create Words TABLE_PAT_KEY --key_type ShortText \
   --default_tokenizer TokenBigramSplitSymbolAlpha
-column_create Words users_name COLUMN_INDEX Users name
+column_create Words users_name COLUMN_INDEX|WITH_POSITION|WITH_SECTION Users name
 
 select Words --output_columns _key
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180731/1c810ad2/attachment.htm 



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