I have dsl query which need to return
- Country Owner is list of dictionaries
- Territory Owner is list of dictionaries
- Need to check where id is part of that dictionary
- My query which is below which return which is
'and'
but i needOR
operation
a = {'from': 0, 'size': 200,'query': {
'bool': {
'must': [
{
'terms': {
'Country Owner.id.keyword': [
'ABC101'
]
}
},
{
'terms': {
'Territory Owner.id.keyword': [
'ABC101'
]
}
}
]
}
}
}