File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
66### Added
77
88### Changed
9+ update ` score ` type. ([ #176 ] ( https://github.com/opensearch-project/opensearch-protobufs/pull/176 ) )
910
1011### Removed
1112
Original file line number Diff line number Diff line change @@ -452,6 +452,13 @@ message InnerHitsResult {
452452
453453}
454454
455+ message HitUnderscoreScore {
456+ oneof hit_underscore_score {
457+ double double = 1 ;
458+ NullValue null_value = 2 ;
459+ }
460+ }
461+
455462message HitsMetadataHitsInner {
456463
457464 optional string underscore_type = 1 ;
@@ -462,7 +469,7 @@ message HitsMetadataHitsInner {
462469 string underscore_id = 3 ;
463470
464471 // [optional] Relevance of the returned document.
465- repeated FieldValue score = 4 ;
472+ optional HitUnderscoreScore score = 4 ;
466473
467474 // [optional] Explanation of how the relevance score (_score) is calculated for every result.
468475 optional Explanation explanation = 5 ;
You can’t perform that action at this time.
0 commit comments