Skip to content

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

License

Notifications You must be signed in to change notification settings

xiaopohou/ElasticLINQ

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.9%
  • PowerShell 0.1%