ElasticLINQ is a free C# library for searching Elasticsearch using LINQ syntax in .NET 4.5/PCL, e.g.
var db = new ElasticContext(new ElasticConnection(new Uri("http://myserver:9200"))); var p = db.Query<People>().Where(p => p.Tags.Contains("tech") && p.State == "WA");
For information on getting started, see the Wiki.
Elasticsearch version compatibility
- 0.9 to 1.x works great
- 2.x facets fail, other queries usually work
- 5.x under development
- 6.x not supported at this time