Elasticsearch-net: Queryable support for NEST client

Created on 17 Jun 2020  路  1Comment  路  Source: elastic/elasticsearch-net

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?

Feature

>All comments

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

Was this page helpful?
0 / 5 - 0 ratings