[Groonga-commit] groonga/gcs [master] Add scenarios for DefineIndexField with reserved names

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Nov 16 15:59:44 JST 2012


YUKI Hiroshi	2012-11-16 15:59:44 +0900 (Fri, 16 Nov 2012)

  New Revision: 60e82824412ee3406c5b6c0dfd9732bc983d37f6
  https://github.com/groonga/gcs/commit/60e82824412ee3406c5b6c0dfd9732bc983d37f6

  Log:
    Add scenarios for DefineIndexField with reserved names

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

  Modified: test/scenarios/configuration/DefineIndexField.json (+15 -0)
===================================================================
--- test/scenarios/configuration/DefineIndexField.json    2012-11-15 20:05:43 +0900 (bfc1bde)
+++ test/scenarios/configuration/DefineIndexField.json    2012-11-16 15:59:44 +0900 (e65cd56)
@@ -339,6 +339,21 @@
                 "IndexField.IndexFieldName": "",
                 "IndexField.IndexFieldType": "text" } },
 
+  { "name"  : "with reserved field name 'body'",
+    "params": { "Action": "DefineIndexField",
+                "DomainName": "companies",
+                "IndexField.IndexFieldName": "body",
+                "IndexField.IndexFieldType": "text" } },
+  { "name"  : "with reserved field name 'docid'",
+    "params": { "Action": "DefineIndexField",
+                "DomainName": "companies",
+                "IndexField.IndexFieldName": "docid",
+                "IndexField.IndexFieldType": "text" } },
+  { "name"  : "with reserved field name 'text_relevance'",
+    "params": { "Action": "DefineIndexField",
+                "DomainName": "companies",
+                "IndexField.IndexFieldName": "text_relevance",
+                "IndexField.IndexFieldType": "text" } },
 
   { "name"  : "with too short domain name and too short field name",
     "params": { "Action": "DefineIndexField",
-------------- next part --------------
HTML����������������������������...
Download 



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