YUKI Hiroshi
null+****@clear*****
Mon Dec 17 18:21:39 JST 2012
YUKI Hiroshi 2012-12-17 18:21:39 +0900 (Mon, 17 Dec 2012) New Revision: 3bcbda6b11f117d107483571f05171d0fe731087 https://github.com/groonga/gcs/commit/3bcbda6b11f117d107483571f05171d0fe731087 Log: Add scenario to setup test domain for search API scenarios Added files: test/scenarios/search/_setup.json Added: test/scenarios/search/_setup.json (+36 -0) 100644 =================================================================== --- /dev/null +++ test/scenarios/search/_setup.json 2012-12-17 18:21:39 +0900 (8b8933f) @@ -0,0 +1,36 @@ +[ + [ + { "name" : "setup domain", + "params": { "Action": "CreateDomain", + "DomainName": "companies" } }, + { "name" : "setup index field 1", + "params": { "Action": "DefineIndexField", + "DomainName": "companies", + "IndexFieldName": "name", + "IndexFieldType": "text", + "TextOptions.ResultEnabled": "true" } }, + { "name" : "setup index field 2", + "params": { "Action": "DefineIndexField", + "DomainName": "companies", + "IndexFieldName": "address", + "IndexFieldType": "text", + "TextOptions.ResultEnabled": "true" } }, + { "name" : "setup index field 3", + "params": { "Action": "DefineIndexField", + "DomainName": "companies", + "IndexFieldName": "email_address", + "IndexFieldType": "text", + "TextOptions.ResultEnabled": "true" } }, + { "name" : "setup index field 4", + "params": { "Action": "DefineIndexField", + "DomainName": "companies", + "IndexFieldName": "age", + "IndexFieldType": "uint" } }, + { "name" : "setup index field 5", + "params": { "Action": "DefineIndexField", + "DomainName": "companies", + "IndexFieldName": "product", + "IndexFieldType": "literal", + "LiteralOptions.FacetEnabled": "true" } } + ] +] -------------- next part -------------- HTML����������������������������... Télécharger