Skip to content

Query Index with dynamic template mapping not working at all #7235

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
matthewyang0807 opened this issue Feb 15, 2023 · 1 comment
Closed
Labels
8.x Relates to a 8.x client version

Comments

@matthewyang0807
Copy link

Elastic.Clients.Elasticsearch version:8.0.5

Elasticsearch version:8.0

.NET runtime version:6.0

Operating system version:Win11

Description of the problem including expected versus actual behavior:
A clear and concise description of what the bug is.

Steps to reproduce:

  1. Create a simple index only has dynamic template mapping like this:
    image

  2. then use console to write a simple query like this:
    var es8client = GetES8();
    GetIndexRequest cr = new GetIndexRequest("matthew_simple_dynamictemplateindex");
    var response = es8client.Indices.GetAsync(cr);
    Console.WriteLine(response.Result.ApiCallDetails.HasSuccessfulStatusCode);
    Console.WriteLine(response.Result.ApiCallDetails.HttpStatusCode);

  3. The error will come out:

image

Expected behavior
A clear and concise description of what you expected to happen.
I would expect this query can be successful with no error.

@matthewyang0807 matthewyang0807 added the 8.x Relates to a 8.x client version label Feb 15, 2023
@stevejgordon
Copy link
Contributor

Closing as a duplicate of #7221.

@stevejgordon stevejgordon closed this as not planned Won't fix, can't repro, duplicate, stale Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.x Relates to a 8.x client version
Projects
None yet
Development

No branches or pull requests

2 participants