Skip to content
Use LINQ to query Elasticsearch with results as .NET objects
Branch: master
Clone or download
damieng Merge pull request #129 from lesscodetxm/master
Force Content-Type to 'application/json'
Latest commit 694caba Mar 21, 2019


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


Binary releases are available via NuGet or direct downloads

Build StatusNuGet version

You can’t perform that action at this time.