[7.x] [DOCS] Fix query example for wildcard datatype (#61398) (#61431)

Co-authored-by: jessepeixoto <jessepeixoto@gmail.com>
This commit is contained in:
James Rodewig 2020-08-21 12:43:41 -04:00 committed by GitHub
parent c53731a0cd
commit e92c62bdf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,12 +37,14 @@ PUT my-index-000001/_doc/1
"my_wildcard" : "This string can be quite lengthy"
}
POST my-index-000001/_doc/_search
GET my-index-000001/_search
{
"query": {
"wildcard" : {
"value": "*quite*lengthy"
}
"wildcard": {
"my_wildcard": {
"value": "*quite*lengthy"
}
}
}
}