Closed tushar2404 closed 2 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 67.96%. Comparing base (
06a6dc8
) to head (445f046
). Report is 16 commits behind head on main.
Thanks for the PR. Please add a test for this field.
Thanks for the PR. Please add a test for this field.
done
Description
Added Routing field in SearchHit interface
premise:
The OpenSearch Search API currently does not return the routing key in its responses. The routing key is a crucial piece of information, especially in cases where the user or the application has specified a custom routing key for a document at the time of its creation. This omission means that any application or user querying documents from OpenSearch will not receive this key as part of the search results.
Issues Resolved
This pull request addresses this gap by adding a Routing field to the SearchHit interface. With this change, the API will now include the routing key in the search results.
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.