We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Elastic.Clients.Elasticsearch version: 8.0.0-rc.2, 8.0.0 and 8.0.1
Dynamic HttpMethod
Steps to reproduce:
public class Person { public string? FirstName { get; init; } } var response = await client.IndexAsync(new Person { FirstName = "Steve" }, request => request.Index("product-index_001"));
Expected behavior Expect the HttpMethod to be POST, as no ID is inferrable for the URL path.
Actual behavior HttpMethod is PUT, which results in a 405 status code from the server for the URL path /product-index_001/_doc/
/product-index_001/_doc/
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Elastic.Clients.Elasticsearch version: 8.0.0-rc.2, 8.0.0 and 8.0.1
Dynamic HttpMethod
Steps to reproduce:
Expected behavior
Expect the HttpMethod to be POST, as no ID is inferrable for the URL path.
Actual behavior
HttpMethod is PUT, which results in a 405 status code from the server for the URL path
/product-index_001/_doc/
The text was updated successfully, but these errors were encountered: