Hello,
Is there a way i can give limit to each should condition ?
for e.g. in the below query i need only 10 results for each source.
{
"query": {
"bool": {
"should": [
{
"match_phrase": {
"link": "https://www.b.in/"
}
""
},{
"match_phrase": {
"link": "https://www.a.in"
}
}
]
}
},"sort": [
{
"pub_date": {
"order": "desc"
}
}
]
}