Terms query in elasticsearch allows us to search multiple terms in content. If you want to implement restriction whether one term, two terms or all terms should match, then you can use minimum_match in elasticsearch query . For Example : If we want to search documents which is belongs in…
More..