Skip to content

stephenpope/NEST

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NEST

Strongly typed Elasticsearch client

NEST aims to be a .net client with a very concise API.

Indexing is as simple as:

var post = new Post() { Id = 12, ... }
client.Index(post);

Indexing asynchronously is as easy as:

client.IndexAsync(post, (c) => /* called later */);

Searching is fluid:

var results = this.ConnectedClient.Search<ElasticSearchProject>(s => s
		.From(0)
		.Size(10)
		.Fields(f => f.Id, f => f.Name)
		.SortAscending(f => f.LOC)
		.SortDescending(f => f.Name)
		.MatchAll()
);

Note strongly typed searching is still a work in progress, you're best off using the string based search overload for the time being.

For more examples please refer to the Wiki

To get a good overview of the status of NEST please keep an eye out on the public Roadmap

Copyright

Copyright (c) 2010 Martijn Laarman and everyone wonderful enough to contribute to NEST

Some of the wonderful features in NEST were pushed by these wonderful folks:

License

NEST is licensed under MIT. Refer to license.txt for more information.

About

Elasticsearch .NET Client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%