Hi,
is there any plan to expose IQueryable interface for search requests, sth like
client.Search<IndexedEntity>.Query()
.Where(entity => entity.Name.Contains("John") && entity.Age > 30)
.OrderBy(entity => entity.Age);
Our client needs to expose Queryable interface and without implementation of any custom queryProvider or expression visitor we are not able to achieve that.
Is there any plan to implement IQueryable or at least provide some library doing the transformation between IQueryable and DSL using by NEST?
Hi @cermakp
There are no plans to implement a QueryProvider/IQueryable interface for the client. It's been asked a few times before:
I think the reasons for not doing so are outlined in those issues and this stackoverflow answer, so I'm going to close this