elasticsearch using NEST: document versioning
Look at the integration test for it here:https://github.com/elastic/elasticsearch-net/blob/develop/src/Tests/Nest.Tests.Integration/Search/VersionTests.cs
You will have to call .Version()
if you want version information to be returned.
var queryResults = ElasticClient.Search<MyDoc>(s => s .Version());