اگر با Elasticsearch کار کرده باشید میدانید که تولید Elasticsearch DSL Query کمی پیچیده است و عموما باید به صورت manual این Query هارو تولید کنید.
با استفاده از این پکیج برای تولید این Queryها میتوانید از syntax پشتیبانی شده در Gridify استفاده کنید که کار ساخت Query برای Elasticsearch را ساده میکند.
مثال:
await client.SearchAsync<User>(s => s .Index("users") .ApplyFiltering("emailAddress = John"));
query زیر را تولید میکند:
GET users/_search { "query": { "term": { "emailAddress.keyword": { "value": "test@test.com" } } } }