Is there any way to query Elasticsearch with NEST client using linq or lambda expressions.
I Want to do somthing like this :
client.Search<MyClass>(s => s.MyProperty.Contains("value") &&
(s.MySecondProperty == 123 ||
s.ThirdProperty > 12)) ;
Or
var query = from m in MyContext.MyClass
where ...
select m
I read a little about ElasticLinq but it seems that it is no more active. the last nuget package were published on october 2015
What i want to do is to create a method that get an Expression as parameter from the caller and search on elastic with it. the caller should not depend on ES or NEST API