I was looking for a solution to use expression with Elasticsearch C# client. I'm using the Elastic.Clients.Elasticsearch in 8.9.1 version.
In my repository I have a specification (based on the specification design pattern) which is prepared on the application layer. This specification may be used as expression in format Expression<Func<my_object, bool>>.
I was trying to create an Elasticsearch query to use this expression but without any luck so far.
Do you know any way to use the client with such expression usage?