Multiple AND and OR condition in elasticsearch

I having trouble with elasticsearch query.

Data Structrue: [{agent : "abc", origin: "US"}, {agent : "abc", origin: "US"}

I'm not able to find multiple agent name (OR condition) and (AND Condition) multiple Origin (OR condition)



Read more here: https://stackoverflow.com/questions/67929968/multiple-and-and-or-condition-in-elasticsearch

Content Attribution

This content was originally published by rakesh at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: