I need to highlight only fragment containing all searched words specified in the highlight_query, but it is ignored. What am i mistaking?
GET /test/person/_search
{
"query": {
"terms": {
"testo": ["favola", "fiaba"]
}
},
"highlight": {
"order": "score",
"fields": {
"testo": {
"query": {
"terms": {
"testo": ["favola", "fiaba"]
}
}
}
}
}}