Skip to content

Documentation: Mapping an Index name for a .NET type code samples #3914

@Trisped

Description

@Trisped

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:

  1. Go to https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/index-name-inference.html#index-name-type-mapping
  2. Compare the first two code blocks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions