Fix exists query doc
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.
This commit is contained in:
parent
bc33753aee
commit
9abb125417
|
@ -54,11 +54,11 @@ instance, if the `user` field were mapped as follows:
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
PUT /example
|
PUT /example
|
||||||
{
|
{
|
||||||
"mapping": {
|
"mappings": {
|
||||||
"doc": {
|
"doc": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"user": {
|
"user": {
|
||||||
"type": "text",
|
"type": "keyword",
|
||||||
"null_value": "_null_"
|
"null_value": "_null_"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue