[Groonga-commit] groonga/groonga at 9552b7a [master] test fuzzy-search: fix wrong name

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Oct 5 14:26:08 JST 2016


Kouhei Sutou	2016-10-05 14:26:08 +0900 (Wed, 05 Oct 2016)

  New Revision: 9552b7aafe457463b371b27672ec581aaa36ab33
  https://github.com/groonga/groonga/commit/9552b7aafe457463b371b27672ec581aaa36ab33

  Message:
    test fuzzy-search: fix wrong name

  Modified files:
    test/command/suite/select/function/fuzzy_search/index/and.expected
    test/command/suite/select/function/fuzzy_search/index/and.test
    test/command/suite/select/function/fuzzy_search/index/hash.expected
    test/command/suite/select/function/fuzzy_search/index/hash.test
    test/command/suite/select/function/fuzzy_search/index/index.expected
    test/command/suite/select/function/fuzzy_search/index/index.test
    test/command/suite/select/function/fuzzy_search/index/index_column.expected
    test/command/suite/select/function/fuzzy_search/index/index_column.test
    test/command/suite/select/function/fuzzy_search/index/index_with_tokenizer.expected
    test/command/suite/select/function/fuzzy_search/index/index_with_tokenizer.test
    test/command/suite/select/function/fuzzy_search/index/or.expected
    test/command/suite/select/function/fuzzy_search/index/or.test
    test/command/suite/select/function/fuzzy_search/index/vector.expected
    test/command/suite/select/function/fuzzy_search/index/vector.test
    test/command/suite/select/function/fuzzy_search/max_distance.expected
    test/command/suite/select/function/fuzzy_search/max_distance.test
    test/command/suite/select/function/fuzzy_search/object_literal/max_distance.expected
    test/command/suite/select/function/fuzzy_search/object_literal/max_distance.test
    test/command/suite/select/function/fuzzy_search/object_literal/max_expansion.expected
    test/command/suite/select/function/fuzzy_search/object_literal/max_expansion.test
    test/command/suite/select/function/fuzzy_search/object_literal/prefix_length.expected
    test/command/suite/select/function/fuzzy_search/object_literal/prefix_length.test
    test/command/suite/select/function/fuzzy_search/object_literal/prefix_length_ja.expected
    test/command/suite/select/function/fuzzy_search/object_literal/prefix_length_ja.test
    test/command/suite/select/function/fuzzy_search/object_literal/transposition.expected
    test/command/suite/select/function/fuzzy_search/object_literal/transposition.test
    test/command/suite/select/function/fuzzy_search/pat/pat.expected
    test/command/suite/select/function/fuzzy_search/pat/pat.test
    test/command/suite/select/function/fuzzy_search/sequential/reference_vector.expected
    test/command/suite/select/function/fuzzy_search/sequential/reference_vector.test
    test/command/suite/select/function/fuzzy_search/with_logical_operation.expected
    test/command/suite/select/function/fuzzy_search/with_logical_operation.test

  Modified: test/command/suite/select/function/fuzzy_search/index/and.expected (+2 -2)
===================================================================
--- test/command/suite/select/function/fuzzy_search/index/and.expected    2016-10-04 00:08:09 +0900 (575d7ea)
+++ test/command/suite/select/function/fuzzy_search/index/and.expected    2016-10-05 14:26:08 +0900 (4fdd0c2)
@@ -2,9 +2,9 @@ table_create Users TABLE_NO_KEY
 [[0,0.0,0.0],true]
 column_create Users name COLUMN_SCALAR ShortText
 [[0,0.0,0.0],true]
-table_create Tags TABLE_PAT_KEY ShortText
+table_create Names TABLE_PAT_KEY ShortText
 [[0,0.0,0.0],true]
-column_create Tags tag COLUMN_INDEX Users name
+column_create Names user COLUMN_INDEX Users name
 [[0,0.0,0.0],true]
 load --table Users
 [

  Modified: test/command/suite/select/function/fuzzy_search/index/and.test (+2 -2)
===================================================================
--- test/command/suite/select/function/fuzzy_search/index/and.test    2016-10-04 00:08:09 +0900 (efbc494)
+++ test/command/suite/select/function/fuzzy_search/index/and.test    2016-10-05 14:26:08 +0900 (0d5c0d8)
@@ -1,8 +1,8 @@
 table_create Users TABLE_NO_KEY
 column_create Users name COLUMN_SCALAR ShortText
 
-table_create Tags TABLE_PAT_KEY ShortText
-column_create Tags tag COLUMN_INDEX Users name
+table_create Names TABLE_PAT_KEY ShortText
+column_create Names user COLUMN_INDEX Users name
 
 load --table Users
 [

  Modified: test/command/suite/select/function/fuzzy_search/index/hash.expected (+2 -2)
===================================================================
--- test/command/suite/select/function/fuzzy_search/index/hash.expected    2016-10-04 00:08:09 +0900 (fa2d88b)
+++ test/command/suite/select/function/fuzzy_search/index/hash.expected    2016-10-05 14:26:08 +0900 (407bbd9)
@@ -2,9 +2,9 @@ table_create Users TABLE_NO_KEY
 [[0,0.0,0.0],true]
 column_create Users name COLUMN_SCALAR ShortText
 [[0,0.0,0.0],true]
-table_create Tags TABLE_HASH_KEY ShortText
+table_create Names TABLE_HASH_KEY ShortText
 [[0,0.0,0.0],true]
-column_create Tags tag COLUMN_INDEX Users name
+column_create Names user COLUMN_INDEX Users name
 [[0,0.0,0.0],true]
 load --table Users
 [

  Modified: test/command/suite/select/function/fuzzy_search/index/hash.test (+2 -2)
===================================================================
--- test/command/suite/select/function/fuzzy_search/index/hash.test    2016-10-04 00:08:09 +0900 (e978c4e)
+++ test/command/suite/select/function/fuzzy_search/index/hash.test    2016-10-05 14:26:08 +0900 (4ccd91f)
@@ -1,8 +1,8 @@
 table_create Users TABLE_NO_KEY
 column_create Users name COLUMN_SCALAR ShortText
 
-table_create Tags TABLE_HASH_KEY ShortText
-column_create Tags tag COLUMN_INDEX Users name
+table_create Names TABLE_HASH_KEY ShortText
+column_create Names user COLUMN_INDEX Users name
 
 load --table Users
 [

  Modified: test/command/suite/select/function/fuzzy_search/index/index.expected (+2 -2)
===================================================================
--- test/command/suite/select/function/fuzzy_search/index/index.expected    2016-10-04 00:08:09 +0900 (360cb80)
+++ test/command/suite/select/function/fuzzy_search/index/index.expected    2016-10-05 14:26:08 +0900 (de6e027)
@@ -2,9 +2,9 @@ table_create Users TABLE_NO_KEY
 [[0,0.0,0.0],true]
 column_create Users name COLUMN_SCALAR ShortText
 [[0,0.0,0.0],true]
-table_create Tags TABLE_PAT_KEY ShortText
+table_create Names TABLE_PAT_KEY ShortText
 [[0,0.0,0.0],true]
-column_create Tags tag COLUMN_INDEX Users name
+column_create Names user COLUMN_INDEX Users name
 [[0,0.0,0.0],true]
 load --table Users
 [

  Modified: test/command/suite/select/function/fuzzy_search/index/index.test (+2 -2)
===================================================================
--- test/command/suite/select/function/fuzzy_search/index/index.test    2016-10-04 00:08:09 +0900 (8014da0)
+++ test/command/suite/select/function/fuzzy_search/index/index.test    2016-10-05 14:26:08 +0900 (d83519c)
@@ -1,8 +1,8 @@
 table_create Users TABLE_NO_KEY
 column_create Users name COLUMN_SCALAR ShortText
 
-table_create Tags TABLE_PAT_KEY ShortText
-column_create Tags tag COLUMN_INDEX Users name
+table_create Names TABLE_PAT_KEY ShortText
+column_create Names user COLUMN_INDEX Users name
 
 load --table Users
 [

  Modified: test/command/suite/select/function/fuzzy_search/index/index_column.expected (+3 -3)
===================================================================
--- test/command/suite/select/function/fuzzy_search/index/index_column.expected    2016-10-04 00:08:09 +0900 (8751264)
+++ test/command/suite/select/function/fuzzy_search/index/index_column.expected    2016-10-05 14:26:08 +0900 (827a250)
@@ -2,9 +2,9 @@ table_create Users TABLE_NO_KEY
 [[0,0.0,0.0],true]
 column_create Users name COLUMN_SCALAR ShortText
 [[0,0.0,0.0],true]
-table_create Tags TABLE_PAT_KEY ShortText
+table_create Names TABLE_PAT_KEY ShortText
 [[0,0.0,0.0],true]
-column_create Tags tag COLUMN_INDEX Users name
+column_create Names user COLUMN_INDEX Users name
 [[0,0.0,0.0],true]
 load --table Users
 [
@@ -13,7 +13,7 @@ load --table Users
 {"name": "Ken"}
 ]
 [[0,0.0,0.0],3]
-select Users --filter 'fuzzy_search(Tags.tag, "Tom")'   --output_columns 'name, _score'   --match_escalation_threshold -1
+select Users --filter 'fuzzy_search(Names.user, "Tom")'   --output_columns 'name, _score'   --match_escalation_threshold -1
 [
   [
     0,

  Modified: test/command/suite/select/function/fuzzy_search/index/index_column.test (+3 -3)
===================================================================
--- test/command/suite/select/function/fuzzy_search/index/index_column.test    2016-10-04 00:08:09 +0900 (ed261dc)
+++ test/command/suite/select/function/fuzzy_search/index/index_column.test    2016-10-05 14:26:08 +0900 (ee6857e)
@@ -1,8 +1,8 @@
 table_create Users TABLE_NO_KEY
 column_create Users name COLUMN_SCALAR ShortText
 
-table_create Tags TABLE_PAT_KEY ShortText
-column_create Tags tag COLUMN_INDEX Users name
+table_create Names TABLE_PAT_KEY ShortText
+column_create Names user COLUMN_INDEX Users name
 
 load --table Users
 [
@@ -11,6 +11,6 @@ load --table Users
 {"name": "Ken"}
 ]
 
-select Users --filter 'fuzzy_search(Tags.tag, "Tom")' \
+select Users --filter 'fuzzy_search(Names.user, "Tom")' \
   --output_columns 'name, _score' \
   --match_escalation_threshold -1

  Modified: test/command/suite/select/function/fuzzy_search/index/index_with_tokenizer.expected (+2 -2)
===================================================================
--- test/command/suite/select/function/fuzzy_search/index/index_with_tokenizer.expected    2016-10-04 00:08:09 +0900 (1787ad2)
+++ test/command/suite/select/function/fuzzy_search/index/index_with_tokenizer.expected    2016-10-05 14:26:08 +0900 (54d6d94)
@@ -2,9 +2,9 @@ table_create Users TABLE_NO_KEY
 [[0,0.0,0.0],true]
 column_create Users name COLUMN_SCALAR ShortText
 [[0,0.0,0.0],true]
-table_create Tags TABLE_PAT_KEY ShortText --default_tokenizer TokenDelimit
+table_create Names TABLE_PAT_KEY ShortText --default_tokenizer TokenDelimit
 [[0,0.0,0.0],true]
-column_create Tags tag COLUMN_INDEX|WITH_POSITION Users name
+column_create Names user COLUMN_INDEX|WITH_POSITION Users name
 [[0,0.0,0.0],true]
 load --table Users
 [

  Modified: test/command/suite/select/function/fuzzy_search/index/index_with_tokenizer.test (+2 -2)
===================================================================
--- test/command/suite/select/function/fuzzy_search/index/index_with_tokenizer.test    2016-10-04 00:08:09 +0900 (6a1494f)
+++ test/command/suite/select/function/fuzzy_search/index/index_with_tokenizer.test    2016-10-05 14:26:08 +0900 (13427cc)
@@ -1,8 +1,8 @@
 table_create Users TABLE_NO_KEY
 column_create Users name COLUMN_SCALAR ShortText
 
-table_create Tags TABLE_PAT_KEY ShortText --default_tokenizer TokenDelimit
-column_create Tags tag COLUMN_INDEX|WITH_POSITION Users name
+table_create Names TABLE_PAT_KEY ShortText --default_tokenizer TokenDelimit
+column_create Names user COLUMN_INDEX|WITH_POSITION Users name
 
 load --table Users
 [

  Modified: test/command/suite/select/function/fuzzy_search/index/or.expected (+2 -2)
===================================================================
--- test/command/suite/select/function/fuzzy_search/index/or.expected    2016-10-04 00:08:09 +0900 (90d25ac)
+++ test/command/suite/select/function/fuzzy_search/index/or.expected    2016-10-05 14:26:08 +0900 (43f2800)
@@ -2,9 +2,9 @@ table_create Users TABLE_NO_KEY
 [[0,0.0,0.0],true]
 column_create Users name COLUMN_SCALAR ShortText
 [[0,0.0,0.0],true]
-table_create Tags TABLE_PAT_KEY ShortText
+table_create Names TABLE_PAT_KEY ShortText
 [[0,0.0,0.0],true]
-column_create Tags tag COLUMN_INDEX Users name
+column_create Names user COLUMN_INDEX Users name
 [[0,0.0,0.0],true]
 load --table Users
 [

  Modified: test/command/suite/select/function/fuzzy_search/index/or.test (+2 -2)
===================================================================
--- test/command/suite/select/function/fuzzy_search/index/or.test    2016-10-04 00:08:09 +0900 (3f091af)
+++ test/command/suite/select/function/fuzzy_search/index/or.test    2016-10-05 14:26:08 +0900 (7817596)
@@ -1,8 +1,8 @@
 table_create Users TABLE_NO_KEY
 column_create Users name COLUMN_SCALAR ShortText
 
-table_create Tags TABLE_PAT_KEY ShortText
-column_create Tags tag COLUMN_INDEX Users name
+table_create Names TABLE_PAT_KEY ShortText
+column_create Names user COLUMN_INDEX Users name
 
 load --table Users
 [

  Modified: test/command/suite/select/function/fuzzy_search/index/vector.expected (+2 -2)
===================================================================
--- test/command/suite/select/function/fuzzy_search/index/vector.expected    2016-10-04 00:08:09 +0900 (6f82ab3)
+++ test/command/suite/select/function/fuzzy_search/index/vector.expected    2016-10-05 14:26:08 +0900 (4f45256)
@@ -2,9 +2,9 @@ table_create Users TABLE_NO_KEY
 [[0,0.0,0.0],true]
 column_create Users name COLUMN_VECTOR ShortText
 [[0,0.0,0.0],true]
-table_create Tags TABLE_PAT_KEY ShortText
+table_create Names TABLE_PAT_KEY ShortText
 [[0,0.0,0.0],true]
-column_create Tags tag COLUMN_INDEX Users name
+column_create Names user COLUMN_INDEX Users name
 [[0,0.0,0.0],true]
 load --table Users
 [

  Modified: test/command/suite/select/function/fuzzy_search/index/vector.test (+2 -2)
===================================================================
--- test/command/suite/select/function/fuzzy_search/index/vector.test    2016-10-04 00:08:09 +0900 (fc00eb2)
+++ test/command/suite/select/function/fuzzy_search/index/vector.test    2016-10-05 14:26:08 +0900 (07a7611)
@@ -1,8 +1,8 @@
 table_create Users TABLE_NO_KEY
 column_create Users name COLUMN_VECTOR ShortText
 
-table_create Tags TABLE_PAT_KEY ShortText
-column_create Tags tag COLUMN_INDEX Users name
+table_create Names TABLE_PAT_KEY ShortText
+column_create Names user COLUMN_INDEX Users name
 
 load --table Users
 [

  Modified: test/command/suite/select/function/fuzzy_search/max_distance.expected (+3 -3)
===================================================================
--- test/command/suite/select/function/fuzzy_search/max_distance.expected    2016-10-04 00:08:09 +0900 (90e30b7)
+++ test/command/suite/select/function/fuzzy_search/max_distance.expected    2016-10-05 14:26:08 +0900 (fcc2572)
@@ -2,9 +2,9 @@ table_create Users TABLE_NO_KEY
 [[0,0.0,0.0],true]
 column_create Users name COLUMN_SCALAR ShortText
 [[0,0.0,0.0],true]
-table_create Tags TABLE_PAT_KEY ShortText
+table_create Names TABLE_PAT_KEY ShortText
 [[0,0.0,0.0],true]
-column_create Tags tag COLUMN_INDEX Users name
+column_create Names user COLUMN_INDEX Users name
 [[0,0.0,0.0],true]
 load --table Users
 [
@@ -13,5 +13,5 @@ load --table Users
 {"name": "Ken"}
 ]
 [[0,0.0,0.0],3]
-select Tags --filter 'fuzzy_search(_key, "To", 1)'   --output_columns '_key, _score'
+select Names --filter 'fuzzy_search(_key, "To", 1)'   --output_columns '_key, _score'
 [[0,0.0,0.0],[[[1],[["_key","ShortText"],["_score","Int32"]],["Tom",1]]]]

  Modified: test/command/suite/select/function/fuzzy_search/max_distance.test (+3 -3)
===================================================================
--- test/command/suite/select/function/fuzzy_search/max_distance.test    2016-10-04 00:08:09 +0900 (dd84fbe)
+++ test/command/suite/select/function/fuzzy_search/max_distance.test    2016-10-05 14:26:08 +0900 (5485ee4)
@@ -1,8 +1,8 @@
 table_create Users TABLE_NO_KEY
 column_create Users name COLUMN_SCALAR ShortText
 
-table_create Tags TABLE_PAT_KEY ShortText
-column_create Tags tag COLUMN_INDEX Users name
+table_create Names TABLE_PAT_KEY ShortText
+column_create Names user COLUMN_INDEX Users name
 
 load --table Users
 [
@@ -11,5 +11,5 @@ load --table Users
 {"name": "Ken"}
 ]
 
-select Tags --filter 'fuzzy_search(_key, "To", 1)' \
+select Names --filter 'fuzzy_search(_key, "To", 1)' \
   --output_columns '_key, _score'

  Modified: test/command/suite/select/function/fuzzy_search/object_literal/max_distance.expected (+3 -3)
===================================================================
--- test/command/suite/select/function/fuzzy_search/object_literal/max_distance.expected    2016-10-04 00:08:09 +0900 (cc82321)
+++ test/command/suite/select/function/fuzzy_search/object_literal/max_distance.expected    2016-10-05 14:26:08 +0900 (3c7d7f6)
@@ -2,9 +2,9 @@ table_create Users TABLE_NO_KEY
 [[0,0.0,0.0],true]
 column_create Users name COLUMN_SCALAR ShortText
 [[0,0.0,0.0],true]
-table_create Tags TABLE_PAT_KEY ShortText
+table_create Names TABLE_PAT_KEY ShortText
 [[0,0.0,0.0],true]
-column_create Tags tag COLUMN_INDEX Users name
+column_create Names user COLUMN_INDEX Users name
 [[0,0.0,0.0],true]
 load --table Users
 [
@@ -13,7 +13,7 @@ load --table Users
 {"name": "Ken"}
 ]
 [[0,0.0,0.0],3]
-select Tags --filter 'fuzzy_search(_key, "To", {"max_distance": 2})'   --output_columns '_key, _score'   --match_escalation_threshold -1
+select Names --filter 'fuzzy_search(_key, "To", {"max_distance": 2})'   --output_columns '_key, _score'   --match_escalation_threshold -1
 [
   [
     0,

  Modified: test/command/suite/select/function/fuzzy_search/object_literal/max_distance.test (+3 -3)
===================================================================
--- test/command/suite/select/function/fuzzy_search/object_literal/max_distance.test    2016-10-04 00:08:09 +0900 (7b2bdc9)
+++ test/command/suite/select/function/fuzzy_search/object_literal/max_distance.test    2016-10-05 14:26:08 +0900 (41d6362)
@@ -1,8 +1,8 @@
 table_create Users TABLE_NO_KEY
 column_create Users name COLUMN_SCALAR ShortText
 
-table_create Tags TABLE_PAT_KEY ShortText
-column_create Tags tag COLUMN_INDEX Users name
+table_create Names TABLE_PAT_KEY ShortText
+column_create Names user COLUMN_INDEX Users name
 
 load --table Users
 [
@@ -11,6 +11,6 @@ load --table Users
 {"name": "Ken"}
 ]
 
-select Tags --filter 'fuzzy_search(_key, "To", {"max_distance": 2})' \
+select Names --filter 'fuzzy_search(_key, "To", {"max_distance": 2})' \
   --output_columns '_key, _score' \
   --match_escalation_threshold -1

  Modified: test/command/suite/select/function/fuzzy_search/object_literal/max_expansion.expected (+3 -3)
===================================================================
--- test/command/suite/select/function/fuzzy_search/object_literal/max_expansion.expected    2016-10-04 00:08:09 +0900 (a5da1ab)
+++ test/command/suite/select/function/fuzzy_search/object_literal/max_expansion.expected    2016-10-05 14:26:08 +0900 (08eff3b)
@@ -2,9 +2,9 @@ table_create Users TABLE_NO_KEY
 [[0,0.0,0.0],true]
 column_create Users name COLUMN_SCALAR ShortText
 [[0,0.0,0.0],true]
-table_create Tags TABLE_PAT_KEY ShortText
+table_create Names TABLE_PAT_KEY ShortText
 [[0,0.0,0.0],true]
-column_create Tags tag COLUMN_INDEX Users name
+column_create Names user COLUMN_INDEX Users name
 [[0,0.0,0.0],true]
 load --table Users
 [
@@ -13,5 +13,5 @@ load --table Users
 {"name": "Ken"}
 ]
 [[0,0.0,0.0],3]
-select Tags --filter 'fuzzy_search(_key, "To", {"max_distance": 2, "max_expansion": 1})'   --output_columns '_key, _score'   --match_escalation_threshold -1
+select Names --filter 'fuzzy_search(_key, "To", {"max_distance": 2, "max_expansion": 1})'   --output_columns '_key, _score'   --match_escalation_threshold -1
 [[0,0.0,0.0],[[[1],[["_key","ShortText"],["_score","Int32"]],["Tom",2]]]]

  Modified: test/command/suite/select/function/fuzzy_search/object_literal/max_expansion.test (+3 -3)
===================================================================
--- test/command/suite/select/function/fuzzy_search/object_literal/max_expansion.test    2016-10-04 00:08:09 +0900 (d8ea7ea)
+++ test/command/suite/select/function/fuzzy_search/object_literal/max_expansion.test    2016-10-05 14:26:08 +0900 (a93902a)
@@ -1,8 +1,8 @@
 table_create Users TABLE_NO_KEY
 column_create Users name COLUMN_SCALAR ShortText
 
-table_create Tags TABLE_PAT_KEY ShortText
-column_create Tags tag COLUMN_INDEX Users name
+table_create Names TABLE_PAT_KEY ShortText
+column_create Names user COLUMN_INDEX Users name
 
 load --table Users
 [
@@ -11,6 +11,6 @@ load --table Users
 {"name": "Ken"}
 ]
 
-select Tags --filter 'fuzzy_search(_key, "To", {"max_distance": 2, "max_expansion": 1})' \
+select Names --filter 'fuzzy_search(_key, "To", {"max_distance": 2, "max_expansion": 1})' \
   --output_columns '_key, _score' \
   --match_escalation_threshold -1

  Modified: test/command/suite/select/function/fuzzy_search/object_literal/prefix_length.expected (+3 -3)
===================================================================
--- test/command/suite/select/function/fuzzy_search/object_literal/prefix_length.expected    2016-10-04 00:08:09 +0900 (6045607)
+++ test/command/suite/select/function/fuzzy_search/object_literal/prefix_length.expected    2016-10-05 14:26:08 +0900 (1d37098)
@@ -2,9 +2,9 @@ table_create Users TABLE_NO_KEY
 [[0,0.0,0.0],true]
 column_create Users name COLUMN_SCALAR ShortText
 [[0,0.0,0.0],true]
-table_create Tags TABLE_PAT_KEY ShortText
+table_create Names TABLE_PAT_KEY ShortText
 [[0,0.0,0.0],true]
-column_create Tags tag COLUMN_INDEX Users name
+column_create Names user COLUMN_INDEX Users name
 [[0,0.0,0.0],true]
 load --table Users
 [
@@ -18,7 +18,7 @@ load --table Users
 {"name": "Tiga"}
 ]
 [[0,0.0,0.0],8]
-select Tags --filter 'fuzzy_search(_key, "Tom", {"prefix_length": 1})'   --output_columns '_key, _score'   --match_escalation_threshold -1
+select Names --filter 'fuzzy_search(_key, "Tom", {"prefix_length": 1})'   --output_columns '_key, _score'   --match_escalation_threshold -1
 [
   [
     0,

  Modified: test/command/suite/select/function/fuzzy_search/object_literal/prefix_length.test (+3 -3)
===================================================================
--- test/command/suite/select/function/fuzzy_search/object_literal/prefix_length.test    2016-10-04 00:08:09 +0900 (52614d0)
+++ test/command/suite/select/function/fuzzy_search/object_literal/prefix_length.test    2016-10-05 14:26:08 +0900 (d7c8ae5)
@@ -1,8 +1,8 @@
 table_create Users TABLE_NO_KEY
 column_create Users name COLUMN_SCALAR ShortText
 
-table_create Tags TABLE_PAT_KEY ShortText
-column_create Tags tag COLUMN_INDEX Users name
+table_create Names TABLE_PAT_KEY ShortText
+column_create Names user COLUMN_INDEX Users name
 
 load --table Users
 [
@@ -16,6 +16,6 @@ load --table Users
 {"name": "Tiga"}
 ]
 
-select Tags --filter 'fuzzy_search(_key, "Tom", {"prefix_length": 1})' \
+select Names --filter 'fuzzy_search(_key, "Tom", {"prefix_length": 1})' \
   --output_columns '_key, _score' \
   --match_escalation_threshold -1

  Modified: test/command/suite/select/function/fuzzy_search/object_literal/prefix_length_ja.expected (+3 -3)
===================================================================
--- test/command/suite/select/function/fuzzy_search/object_literal/prefix_length_ja.expected    2016-10-04 00:08:09 +0900 (5de02cb)
+++ test/command/suite/select/function/fuzzy_search/object_literal/prefix_length_ja.expected    2016-10-05 14:26:08 +0900 (35918ec)
@@ -2,9 +2,9 @@ table_create Users TABLE_NO_KEY
 [[0,0.0,0.0],true]
 column_create Users name COLUMN_SCALAR ShortText
 [[0,0.0,0.0],true]
-table_create Tags TABLE_PAT_KEY ShortText
+table_create Names TABLE_PAT_KEY ShortText
 [[0,0.0,0.0],true]
-column_create Tags tag COLUMN_INDEX Users name
+column_create Names user COLUMN_INDEX Users name
 [[0,0.0,0.0],true]
 load --table Users
 [
@@ -13,7 +13,7 @@ load --table Users
 {"name": "けん"}
 ]
 [[0,0.0,0.0],3]
-select Tags --filter 'fuzzy_search(_key, "とむ", {"max_distance": 5, "prefix_length": 1})'   --output_columns '_key, _score'   --match_escalation_threshold -1
+select Names --filter 'fuzzy_search(_key, "とむ", {"max_distance": 5, "prefix_length": 1})'   --output_columns '_key, _score'   --match_escalation_threshold -1
 [
   [
     0,

  Modified: test/command/suite/select/function/fuzzy_search/object_literal/prefix_length_ja.test (+3 -3)
===================================================================
--- test/command/suite/select/function/fuzzy_search/object_literal/prefix_length_ja.test    2016-10-04 00:08:09 +0900 (e10ee93)
+++ test/command/suite/select/function/fuzzy_search/object_literal/prefix_length_ja.test    2016-10-05 14:26:08 +0900 (08bac2826)
@@ -1,8 +1,8 @@
 table_create Users TABLE_NO_KEY
 column_create Users name COLUMN_SCALAR ShortText
 
-table_create Tags TABLE_PAT_KEY ShortText
-column_create Tags tag COLUMN_INDEX Users name
+table_create Names TABLE_PAT_KEY ShortText
+column_create Names user COLUMN_INDEX Users name
 
 load --table Users
 [
@@ -11,6 +11,6 @@ load --table Users
 {"name": "けん"}
 ]
 
-select Tags --filter 'fuzzy_search(_key, "とむ", {"max_distance": 5, "prefix_length": 1})' \
+select Names --filter 'fuzzy_search(_key, "とむ", {"max_distance": 5, "prefix_length": 1})' \
   --output_columns '_key, _score' \
   --match_escalation_threshold -1

  Modified: test/command/suite/select/function/fuzzy_search/object_literal/transposition.expected (+3 -3)
===================================================================
--- test/command/suite/select/function/fuzzy_search/object_literal/transposition.expected    2016-10-04 00:08:09 +0900 (257b26a)
+++ test/command/suite/select/function/fuzzy_search/object_literal/transposition.expected    2016-10-05 14:26:08 +0900 (7d741a6)
@@ -2,9 +2,9 @@ table_create Users TABLE_NO_KEY
 [[0,0.0,0.0],true]
 column_create Users name COLUMN_SCALAR ShortText
 [[0,0.0,0.0],true]
-table_create Tags TABLE_PAT_KEY ShortText
+table_create Names TABLE_PAT_KEY ShortText
 [[0,0.0,0.0],true]
-column_create Tags tag COLUMN_INDEX Users name
+column_create Names user COLUMN_INDEX Users name
 [[0,0.0,0.0],true]
 load --table Users
 [
@@ -13,7 +13,7 @@ load --table Users
 {"name": "Ken"}
 ]
 [[0,0.0,0.0],3]
-select Tags --filter 'fuzzy_search(_key, "Toym", {"with_transposition": true})'   --output_columns '_key, _score'   --match_escalation_threshold -1
+select Names --filter 'fuzzy_search(_key, "Toym", {"with_transposition": true})'   --output_columns '_key, _score'   --match_escalation_threshold -1
 [
   [
     0,

  Modified: test/command/suite/select/function/fuzzy_search/object_literal/transposition.test (+3 -3)
===================================================================
--- test/command/suite/select/function/fuzzy_search/object_literal/transposition.test    2016-10-04 00:08:09 +0900 (5b4e9c1)
+++ test/command/suite/select/function/fuzzy_search/object_literal/transposition.test    2016-10-05 14:26:08 +0900 (80641ec)
@@ -1,8 +1,8 @@
 table_create Users TABLE_NO_KEY
 column_create Users name COLUMN_SCALAR ShortText
 
-table_create Tags TABLE_PAT_KEY ShortText
-column_create Tags tag COLUMN_INDEX Users name
+table_create Names TABLE_PAT_KEY ShortText
+column_create Names user COLUMN_INDEX Users name
 
 load --table Users
 [
@@ -11,6 +11,6 @@ load --table Users
 {"name": "Ken"}
 ]
 
-select Tags --filter 'fuzzy_search(_key, "Toym", {"with_transposition": true})' \
+select Names --filter 'fuzzy_search(_key, "Toym", {"with_transposition": true})' \
   --output_columns '_key, _score' \
   --match_escalation_threshold -1

  Modified: test/command/suite/select/function/fuzzy_search/pat/pat.expected (+3 -3)
===================================================================
--- test/command/suite/select/function/fuzzy_search/pat/pat.expected    2016-10-04 00:08:09 +0900 (49a8dcf)
+++ test/command/suite/select/function/fuzzy_search/pat/pat.expected    2016-10-05 14:26:08 +0900 (39ce975)
@@ -2,9 +2,9 @@ table_create Users TABLE_NO_KEY
 [[0,0.0,0.0],true]
 column_create Users name COLUMN_SCALAR ShortText
 [[0,0.0,0.0],true]
-table_create Tags TABLE_PAT_KEY ShortText
+table_create Names TABLE_PAT_KEY ShortText
 [[0,0.0,0.0],true]
-column_create Tags tag COLUMN_INDEX Users name
+column_create Names user COLUMN_INDEX Users name
 [[0,0.0,0.0],true]
 load --table Users
 [
@@ -13,7 +13,7 @@ load --table Users
 {"name": "Ken"}
 ]
 [[0,0.0,0.0],3]
-select Tags --filter 'fuzzy_search(_key, "Tom")'   --output_columns '_key, _score'   --match_escalation_threshold -1
+select Names --filter 'fuzzy_search(_key, "Tom")'   --output_columns '_key, _score'   --match_escalation_threshold -1
 [
   [
     0,

  Modified: test/command/suite/select/function/fuzzy_search/pat/pat.test (+3 -3)
===================================================================
--- test/command/suite/select/function/fuzzy_search/pat/pat.test    2016-10-04 00:08:09 +0900 (513aa9a)
+++ test/command/suite/select/function/fuzzy_search/pat/pat.test    2016-10-05 14:26:08 +0900 (b8a4be3)
@@ -1,8 +1,8 @@
 table_create Users TABLE_NO_KEY
 column_create Users name COLUMN_SCALAR ShortText
 
-table_create Tags TABLE_PAT_KEY ShortText
-column_create Tags tag COLUMN_INDEX Users name
+table_create Names TABLE_PAT_KEY ShortText
+column_create Names user COLUMN_INDEX Users name
 
 load --table Users
 [
@@ -11,6 +11,6 @@ load --table Users
 {"name": "Ken"}
 ]
 
-select Tags --filter 'fuzzy_search(_key, "Tom")' \
+select Names --filter 'fuzzy_search(_key, "Tom")' \
   --output_columns '_key, _score' \
   --match_escalation_threshold -1

  Modified: test/command/suite/select/function/fuzzy_search/sequential/reference_vector.expected (+3 -3)
===================================================================
--- test/command/suite/select/function/fuzzy_search/sequential/reference_vector.expected    2016-10-04 00:08:09 +0900 (8c974d8)
+++ test/command/suite/select/function/fuzzy_search/sequential/reference_vector.expected    2016-10-05 14:26:08 +0900 (e8b2acf)
@@ -1,8 +1,8 @@
-table_create Tags TABLE_PAT_KEY ShortText
+table_create Names TABLE_PAT_KEY ShortText
 [[0,0.0,0.0],true]
 table_create Users TABLE_NO_KEY
 [[0,0.0,0.0],true]
-column_create Users name COLUMN_VECTOR Tags
+column_create Users name COLUMN_VECTOR Names
 [[0,0.0,0.0],true]
 load --table Users
 [
@@ -26,7 +26,7 @@ select Users --filter 'fuzzy_search(name, "Tom", {"max_distance": 2})'   --outpu
       [
         [
           "name",
-          "Tags"
+          "Names"
         ],
         [
           "_score",

  Modified: test/command/suite/select/function/fuzzy_search/sequential/reference_vector.test (+2 -2)
===================================================================
--- test/command/suite/select/function/fuzzy_search/sequential/reference_vector.test    2016-10-04 00:08:09 +0900 (a7d668d)
+++ test/command/suite/select/function/fuzzy_search/sequential/reference_vector.test    2016-10-05 14:26:08 +0900 (4f8bf29)
@@ -1,7 +1,7 @@
-table_create Tags TABLE_PAT_KEY ShortText
+table_create Names TABLE_PAT_KEY ShortText
 
 table_create Users TABLE_NO_KEY
-column_create Users name COLUMN_VECTOR Tags
+column_create Users name COLUMN_VECTOR Names
 
 load --table Users
 [

  Modified: test/command/suite/select/function/fuzzy_search/with_logical_operation.expected (+3 -3)
===================================================================
--- test/command/suite/select/function/fuzzy_search/with_logical_operation.expected    2016-10-04 00:08:09 +0900 (25a6467)
+++ test/command/suite/select/function/fuzzy_search/with_logical_operation.expected    2016-10-05 14:26:08 +0900 (14300f9)
@@ -2,9 +2,9 @@ table_create Users TABLE_NO_KEY
 [[0,0.0,0.0],true]
 column_create Users name COLUMN_SCALAR ShortText
 [[0,0.0,0.0],true]
-table_create Tags TABLE_PAT_KEY ShortText
+table_create Names TABLE_PAT_KEY ShortText
 [[0,0.0,0.0],true]
-column_create Tags tag COLUMN_INDEX Users name
+column_create Names user COLUMN_INDEX Users name
 [[0,0.0,0.0],true]
 load --table Users
 [
@@ -14,7 +14,7 @@ load --table Users
 {"name": "Pom"}
 ]
 [[0,0.0,0.0],4]
-select Tags --filter '_key @^ "T" && fuzzy_search(_key, "To", {"max_distance": 2})'   --output_columns '_key, _score'
+select Names --filter '_key @^ "T" && fuzzy_search(_key, "To", {"max_distance": 2})'   --output_columns '_key, _score'
 [
   [
     0,

  Modified: test/command/suite/select/function/fuzzy_search/with_logical_operation.test (+3 -3)
===================================================================
--- test/command/suite/select/function/fuzzy_search/with_logical_operation.test    2016-10-04 00:08:09 +0900 (22ae031)
+++ test/command/suite/select/function/fuzzy_search/with_logical_operation.test    2016-10-05 14:26:08 +0900 (6617304)
@@ -1,8 +1,8 @@
 table_create Users TABLE_NO_KEY
 column_create Users name COLUMN_SCALAR ShortText
 
-table_create Tags TABLE_PAT_KEY ShortText
-column_create Tags tag COLUMN_INDEX Users name
+table_create Names TABLE_PAT_KEY ShortText
+column_create Names user COLUMN_INDEX Users name
 
 load --table Users
 [
@@ -12,5 +12,5 @@ load --table Users
 {"name": "Pom"}
 ]
 
-select Tags --filter '_key @^ "T" && fuzzy_search(_key, "To", {"max_distance": 2})' \
+select Names --filter '_key @^ "T" && fuzzy_search(_key, "To", {"max_distance": 2})' \
   --output_columns '_key, _score'
-------------- next part --------------
HTML����������������������������...
Download 



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