Skip to content
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

Incorrect DeleteAsync response result status when Index name was not correct #8269

Open
mertmtn opened this issue Jul 23, 2024 · 0 comments
Open
Labels
8.x Relates to 8.x client version Category: Bug

Comments

@mertmtn
Copy link

mertmtn commented Jul 23, 2024

Elastic.Clients.Elasticsearch version:8.14.6

Elasticsearch version: 8.14.13

.NET runtime version: .NET 8

Operating system version: Windows 10

Description of the problem including expected versus actual behavior:
When I handle an error during delete an record by id from index, I giving the wrong result status.
I changed actual indexname with wrong index name to handle error messages.

image

Below photo shows that handling an error. Result property assigned Updated but there is no success operation during delete operation on Watch panel
image

In addition to this error, there is no exception result of this problem. IsSuccess() function, returns true.
image

Expected behavior
In NEST library, result status was "Error". Therefore, Elastic.Clients.Elasticsearch has return status as Error or any related status.

@mertmtn mertmtn added 8.x Relates to 8.x client version Category: Bug labels Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.x Relates to 8.x client version Category: Bug
Projects
None yet
Development

No branches or pull requests

1 participant