You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Property `example`: any valid value for this `type`
296
+
* Property `facet`: `true` or `false`
297
+
298
+
255
299
## Privacy Notice
256
300
257
301
The Simple Search Service web application includes code to track deployments to Bluemix and other Cloud Foundry platforms. The following information is sent to a [Deployment Tracker](https://github.com/IBM-Bluemix/cf-deployment-tracker-service) service on each deployment:
errors.push("Field "+count+" - value of property `"+fieldSpec.name+"` must be one of "+_.map(fieldSpec.values,function(element){return("`"+element+"`");}).join(","));
263
+
}
264
+
// enforce constraint that no facet can be defined for fields with data type "number"
265
+
if((field.type==="number")&&(field.facet)){
266
+
errors.push("Field "+count+" - cannot facet field with data type `number`. Use data type `string` instead.");
267
+
}
268
+
}
269
+
}
270
+
});
271
+
count++;
272
+
});
273
+
274
+
if(errors.length){
275
+
// schema definition appears to be invalid; return error list
276
+
returnerrors;
277
+
}
278
+
else{
279
+
// schema definition appears to be valid; return null
0 commit comments