Query:
"queries": [
{
"search_fields": {
"fruit_name": {}
},
"query": "apples"
},
{
"search_fields": {
"type": {}
},
"query": "gala"
}
]
Result:
[
{
"results": [
{
"fruit_id": {
"raw": "9"
},
"fruit_name": {
"raw": "apple"
},
"type": {
"raw": "gala"
}
"id": {
"raw": "9"
}
},
{
"fruit_id": {
"raw": "1"
},
"fruit_name": {
"raw": "apple"
},
"type": {
"raw": "red"
}
"id": {
"raw": "1"
}
}
]
},
{
"results": [
{
"fruit_id": {
"raw": "9"
},
"fruit_name": {
"raw": "apple"
},
"type": {
"raw": "gala"
}
"id": {
"raw": "9"
}
},
{
"fruit_id": {
"raw": "10"
},
"festival_name": {
"raw": "festival"
},
"type": {
"raw": "gala"
}
"id": {
"raw": "10"
}
}
]
}
]
Is there any way to get the common result from both the result sets??