Add missing ShardSearchFailure#1040
Conversation
Changes AnalysisCommit SHA: 8ec483d API ChangesSummary
ReportThe full API changes report is available at: https://github.com/opensearch-project/opensearch-api-specification/actions/runs/22080860453/artifacts/5532103810 API Coverage
|
a2daa3c to
8d5ddb3
Compare
Signed-off-by: Karen X <karenxyr@gmail.com>
8d5ddb3 to
f9316a5
Compare
|
Proto compatibility check awaiting fix in opensearch-project/opensearch-protobufs#388 before being rerun |
Proto Compatibility ReportMerge ReportMessage Changes
Legend
Generated by Proto Compatibility Check |
Signed-off-by: Karen X <karenxyr@gmail.com>
de2a71c to
8ec483d
Compare
|
The failing CI is not related to this PR, as it is also failing on main branch: https://github.com/opensearch-project/opensearch-api-specification/actions/runs/22080607191/job/63804886957 Will debug separately |
|
Question @karenyrx . The CHANGELOG entry for this change was added under the section |
Description
This fix resolves the issue where the OpenSearch Java client was failing with MissingRequiredPropertyException when deserializing search responses. The spec now correctly distinguishes between:
ShardSearchFailure) - noprimaryfield in server codeShardFailure) - has requiredprimaryfield in server codeIssues Resolved
opensearch-project/opensearch-java#1877
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.