How to handle bulk data in "Terms Query"

Hi,
Need to check the list of 10000 ids available in my indexed doc? How to achieve that efficiently.
I am using java apis for elastic search
"query" : {
"terms" : {
"DestCountry" : ["US","IT"] // => How to give lakhs of data here?
}
}
}
}

I'm not sure that you can. You may have to split the query in smaller queries.
Unsure though.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.