You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the bug?
When making a bulk request of any kind (client.Bulk, client.BulkAsync, client.BulkAll), the response is:
Invalid OpenSearch.Client response built from a successful (200) low level call on POST
along with a list of "errors", all of which appear to be blank. The actual indexing works, but the response still says "Invalid" for seemingly no reason.
How can one reproduce the bug?
Steps to reproduce the behavior:
Create a new OpenSearchClient
Generate some data to index
Call a bulk indexing command on the client (eg. var bulkResponse = await client.BulkAsync(selector => selector.Index(indexName).IndexMany<Account>(accts));
Parse the response message
What is the expected behavior?
The response message should read "Valid OpenSearch.Client response built from a successful (200) low level call on POST"
What is your host/environment?
OS: Windows 10 running OpenSearch in Docker. Attempted in both .NET Framework 4.7.2 and .NET Core 6
Version 1.0.0
Do you have any screenshots?
I can provide a screenshot if it's helpful
Do you have any additional context?
My method for testing this was to:
Delete the existing index with a given name
Validate no data has been indexed to that index
Run the code to Bulk Index
Validate that the Index has been created and populated with the expected data
It's entirely possible that I'm misunderstanding the response and there is in fact a reason it's labeled "invalid," but it's not clear to me and it appears to work from my perspective.
The text was updated successfully, but these errors were encountered:
@brendanjeffreymcmahon,
.Net client v.1.1.0 was released recently, it completely supports OpenSearch 2.0.
Please, re-test and re-open this ticket if it is still relevant.
What is the bug?
When making a
bulk
request of any kind (client.Bulk
,client.BulkAsync
,client.BulkAll
), the response is:along with a list of "errors", all of which appear to be blank. The actual indexing works, but the response still says "Invalid" for seemingly no reason.
How can one reproduce the bug?
Steps to reproduce the behavior:
var bulkResponse = await client.BulkAsync(selector => selector.Index(indexName).IndexMany<Account>(accts));
What is the expected behavior?
The response message should read "Valid OpenSearch.Client response built from a successful (200) low level call on POST"
What is your host/environment?
Do you have any screenshots?
I can provide a screenshot if it's helpful
Do you have any additional context?
My method for testing this was to:
It's entirely possible that I'm misunderstanding the response and there is in fact a reason it's labeled "invalid," but it's not clear to me and it appears to work from my perspective.
The text was updated successfully, but these errors were encountered: