Use LINQ to query Elasticsearch and convert results into .NET objects
C# PowerShell
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

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 to 1.x works great
  • 2.x facets fail, other queries usually work
  • 5.x under development
  • 6.x not supported at this time

Builds

Binary releases are available via NuGet or direct downloads

Build StatusNuGet version