Skip to content

Commit

Permalink
Add scenarios for DefineIndexField with reserved names
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Nov 16, 2012
1 parent 483d6c9 commit 60e8282
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test/scenarios/configuration/DefineIndexField.json
Expand Up @@ -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",
Expand Down

0 comments on commit 60e8282

Please sign in to comment.