/ElasticLINQ

Use LINQ to query Elasticsearch and convert results into .NET objects

Primary LanguageC#OtherNOASSERTION

ElasticLINQ

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 works
  • 1.x works
  • 2.x facets fail, other queries might work
  • 5.x under development

Builds

Binary releases are available via NuGet.

Build StatusNuGet version