How we can use Must Clause(for searching data) in Elastic.Clients.Elasticsearch library


Hi Everyone,
I am new here and i do not know to ask a question. I am using Elastic.Clients.Elasticsearch library not Nest. i have issue so i want to discuss with you. In this snipped i made three queries and they are working but i want that when i send empty EventIDs then the data should be showed on patidenid and practiceid. but here when i send empty EventIDs then not data get show because it does match empty query to elasticsearch and i have to do this with must clause not should or anything else. How can i achieve it please give me answer. I searched alot on internet but nothing happend. Thank you very much

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