Hey Elasticsearch community. I have a nested query as such
{
"size": 20,
"_source": ["tags"],
"sort": [
{ "@timestamp": { "order": "desc" } }
],
"query": {
"nested" : {
"path" : "tags",
"query" : {
"bool" : {
"must" : [
{ "match_phrase" : {"tags.name" : "thriller"} }
]
}
}
}
}
}
How do I transform this query into a term query?