I do not understand why this is not working.
mapping :
{
"properties": {
"id": {
"type": "integer"
},
"tags": {
"properties": {
"value": {
"type": "text"
},
"weight": {
"type": "integer"
}
}
},
,
"civility": {
"type": "text"
}
.....
}
query: weight 13 EXISTS
{
"query": {
"bool": {
"must": {
"match_all": {}
},
"filter": {
"match": {
"tags.weight":13
}
}
}
}
}
Results :
{
"took": 2,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"skipped": 0,
"failed": 0
},
"hits": {
"total": 0,
"max_score": null,
"hits": []
}
}
Can someone help me please!Preformatted text