[Groonga-commit] groonga/gcs [master] Make scenario to test updating idex field without type

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Nov 15 19:10:19 JST 2012


YUKI Hiroshi	2012-11-15 19:10:19 +0900 (Thu, 15 Nov 2012)

  New Revision: 3b564be748405ab05f07d1faf3752bcf6efc5bf8
  https://github.com/groonga/gcs/commit/3b564be748405ab05f07d1faf3752bcf6efc5bf8

  Log:
    Make scenario to test updating idex field without type

  Modified files:
    test/scenarios/configuration/DefineIndexField.json

  Modified: test/scenarios/configuration/DefineIndexField.json (+5 -9)
===================================================================
--- test/scenarios/configuration/DefineIndexField.json    2012-11-15 19:06:01 +0900 (2ad0c46)
+++ test/scenarios/configuration/DefineIndexField.json    2012-11-15 19:10:19 +0900 (bfc1bde)
@@ -16,11 +16,10 @@
                   "DomainName": "companies",
                   "IndexField.IndexFieldName": "name",
                   "IndexField.IndexFieldType": "text" } },
-    { "name"  : "text, redefine (update options)",
+    { "name"  : "text, redefine (update options) without type",
       "params": { "Action": "DefineIndexField",
                   "DomainName": "companies",
                   "IndexField.IndexFieldName": "name",
-                  "IndexField.IndexFieldType": "text",
                   "IndexField.TextOptions.ResultEnabled": "true" } }
   ],
 
@@ -52,11 +51,10 @@
                   "DomainName": "companies",
                   "IndexField.IndexFieldName": "age",
                   "IndexField.IndexFieldType": "uint" } },
-    { "name"  : "uint, redefine",
+    { "name"  : "uint, redefine without type",
       "params": { "Action": "DefineIndexField",
                   "DomainName": "companies",
-                  "IndexField.IndexFieldName": "age",
-                  "IndexField.IndexFieldType": "uint" } }
+                  "IndexField.IndexFieldName": "age" } }
   ],
 
   [
@@ -65,13 +63,11 @@
                   "DomainName": "companies",
                   "IndexField.IndexFieldName": "product",
                   "IndexField.IndexFieldType": "literal" } },
-    { "name"  : "literal, redefine (update options)",
+    { "name"  : "literal, redefine (update options, without type)",
       "params": { "Action": "DefineIndexField",
                   "DomainName": "companies",
                   "IndexField.IndexFieldName": "product",
-                  "IndexField.IndexFieldType": "literal",
-                  "IndexField.LiteralOptions.SearchEnabled": "true",
-                  "IndexField.LiteralOptions.ResultEnabled": "true" } }
+                  "IndexField.LiteralOptions.SearchEnabled": "true" } }
   ],
 
   { "name"  : "literal, with search enabled",
-------------- next part --------------
HTML����������������������������...
Download 



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