SELECT * FROM table WHERE ( field = 1 && field2 = 2) || (field3 = 3)
{
"query": {
"bool": {
"must": [
{"term": {"field": {"value": 1}}},
{"term": {"field2": {"value": 2}}},
// OR
{"term": {"field3": {"value": 3}}}
]
}
}
}