NEST/Elasticsearch.Net version: 6.0
Elasticsearch version: 6.0
Description of the problem including expected versus actual behavior:
Mapping an Index name for a .NET type needs some work.
The first code sample is the same as the second sample and does not exemplify MapDefaultTypeIndices as indicated by the line describing what should be in the example.
At the time of this writing, the current documentation was version 6.0
Steps to reproduce:
- Go to https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/index-name-inference.html#index-name-type-mapping
- Compare the first two code blocks.