how can do like and where condition in one query
i was try this query but its not working fine
in this query i need to satisfy both condition
{
"query" : {
"bool" : {
"should" : [
{
"match": {
"branch": "12"
}
}
{
"fuzzy" : {
"tax_type" : {
"min_similarity" : 0.1,
"boost" : 3,
"value" : "single",
"prefix_length" : 1
}
}
}
]
}
}
}
thanks in advance