YUKI Hiroshi
null+****@clear*****
Fri Nov 16 16:01:39 JST 2012
YUKI Hiroshi 2012-11-16 16:01:39 +0900 (Fri, 16 Nov 2012) New Revision: 0b56e4b0f8ca368a9845b21a01038d14a64baec8 https://github.com/groonga/gcs/commit/0b56e4b0f8ca368a9845b21a01038d14a64baec8 Log: Add scenarios for DeleteIndexField and DescribeIndexFields with reserved names Modified files: test/scenarios/configuration/DeleteIndexField.json test/scenarios/configuration/DescribeIndexFields.json Modified: test/scenarios/configuration/DeleteIndexField.json (+13 -0) =================================================================== --- test/scenarios/configuration/DeleteIndexField.json 2012-11-16 15:59:44 +0900 (1681d97) +++ test/scenarios/configuration/DeleteIndexField.json 2012-11-16 16:01:39 +0900 (b0d6143) @@ -107,6 +107,19 @@ "DomainName": "companies", "IndexFieldName": "" } }, + { "name" : "with reserved field name 'body'", + "params": { "Action": "DeleteIndexField", + "DomainName": "companies", + "IndexFieldName": "body" } }, + { "name" : "with reserved field name 'docid'", + "params": { "Action": "DeleteIndexField", + "DomainName": "companies", + "IndexFieldName": "docid" } }, + { "name" : "with reserved field name 'text_relevance'", + "params": { "Action": "DeleteIndexField", + "DomainName": "companies", + "IndexFieldName": "text_relevance" } }, + { "name" : "with too short domain name and too short field name", "params": { "Action": "DeleteIndexField", Modified: test/scenarios/configuration/DescribeIndexFields.json (+13 -0) =================================================================== --- test/scenarios/configuration/DescribeIndexFields.json 2012-11-16 15:59:44 +0900 (b598510) +++ test/scenarios/configuration/DescribeIndexFields.json 2012-11-16 16:01:39 +0900 (9f612c5) @@ -120,6 +120,19 @@ "FieldNames.member.1": "a", "FieldNames.member.2": "name" } }, + { "name" : "with reserved field name 'body'", + "params": { "Action": "DescribeIndexFields", + "DomainName": "companies", + "FieldNames.member.1": "body" } }, + { "name" : "with reserved field name 'docid'", + "params": { "Action": "DescribeIndexFields", + "DomainName": "companies", + "FieldNames.member.1": "docid" } }, + { "name" : "with reserved field name 'text_relevance'", + "params": { "Action": "DescribeIndexFields", + "DomainName": "companies", + "FieldNames.member.1": "text_relevance" } }, + { "name" : "single index with gap", "params": { "Action": "DescribeIndexFields", -------------- next part -------------- HTML����������������������������...ダウンロード