I managed to push the last one without testing it because I'd changed the way I run tests locally and hadn't picked it up. Ooops. This one works better.
@@ -54,11 +54,11 @@ instance, if the `user` field were mapped as follows:
--------------------------------------------------
PUT /example
{
- "mapping": {
+ "mappings": {
"doc": {
"properties": {
"user": {
- "type": "text",
+ "type": "keyword",
"null_value": "_null_"
}