I am getting results that matches my description ABC and XYZ. Now I also want to filter by abc.id should be equal to xyz.id. How i can do that?
{
"query": {
"bool": {
"should": [
{
"match_phrase": {
"description": "abc"
}
},
{
"match_phrase": {
"description": "xyz"
}
}
],
"minimum_should_match": 1
}
}
}```