Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
ElasticSearch .NET Client
C# XSLT
branch: master

This branch is 3 commits ahead, 2638 commits behind elastic:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
build
dep
docs/debug
src
.gitignore
NEST.nuspec
README.markdown

README.markdown

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.

Something went wrong with that request. Please try again.