Skip to content

Commit f62a123

Browse files
committed
changelog
Signed-off-by: xil <fridalu66@gmail.com>
1 parent 33c3541 commit f62a123

2 files changed

Lines changed: 65 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
55
## [Unreleased]
66
### Added
77
- Add tooling_skip field option to preserve manually-maintained protobuf fields ([#417](https://github.com/opensearch-project/opensearch-protobufs/pull/417))
8-
- Add min, max and terms bucket aggregation and remove BoostingQuery and SimpleQueryStringQuery. ([#410](https://github.com/opensearch-project/opensearch-protobufs/pull/410))
8+
- Add min, max and terms bucket aggregation and remove BoostingQuery and SimpleQueryStringQuery. ([#438](https://github.com/opensearch-project/opensearch-protobufs/pull/438))
99
### Changed
1010
- Fix simplifySingleMapSchema to generate named wrapper schemas. ([#406](https://github.com/opensearch-project/opensearch-protobufs/pull/406))
1111
- Change vendorExtension protobuf type handling to use protobuf type instead of openApi type ([#409](https://github.com/opensearch-project/opensearch-protobufs/pull/409))

protos/schemas/common.proto

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ option go_package = "github.com/opensearch-project/opensearch-protobufs/go/opens
88
option java_multiple_files = true;
99
option java_outer_classname = "CommonProto";
1010
option java_package = "org.opensearch.protobufs";
11+
import "google/protobuf/descriptor.proto";
12+
13+
// Custom field option for tooling
14+
extend google.protobuf.FieldOptions {
15+
// Mark a field to be skipped by tooling. These fields are manually maintained and won't be marked as deprecated.
16+
optional bool tooling_skip = 50001;
17+
}
1118

1219
// The Search API operation to perform a search across all indices in the cluster or index search
1320
message SearchRequest {
@@ -890,6 +897,18 @@ message BulkRequestBody {
890897

891898
// [optional]
892899
optional bytes object = 3;
900+
901+
// EXPERIMENTAL field
902+
// [optional] Map of fully-qualified field path -> typed value.
903+
// This field is intended for large field values, such as large vectors, that
904+
// should be provided separately from `_source`.
905+
// Supported operations: index, create and update
906+
// Compatibility:
907+
// - May be provided together with `object`and update_action.
908+
// - `object` and `update_action` continue to represent `_source`.
909+
// - `extra_field_values` provides additional out-of-band field values and does
910+
// not replace `_source`.
911+
map<string, BinaryFieldValue> extra_field_values = 4 [(tooling_skip) = true];
893912
}
894913

895914
message OperationContainer {
@@ -2829,6 +2848,51 @@ message HitMatchedQueries {
28292848
}
28302849
}
28312850

2851+
message BinaryFieldValue {
2852+
oneof binary_field_value {
2853+
2854+
// [optional] Raw bytes payload for a field-specific binary representation.
2855+
BytesValue bytes_value = 1;
2856+
2857+
// [optional] Float array payload for fields that support vector-like input.
2858+
FloatArrayValue float_array_value = 2;
2859+
2860+
}
2861+
}
2862+
2863+
message BytesValue {
2864+
2865+
// [required] Raw bytes for the field value.
2866+
bytes bytes = 1;
2867+
}
2868+
2869+
message FloatArrayValue {
2870+
oneof encoding {
2871+
2872+
// [optional] Fast path: 4 * dimension bytes, little-endian binary float array.
2873+
FloatBinaryLE binary_le = 1;
2874+
2875+
// [optional] Simple path: packed array
2876+
FloatList values = 2;
2877+
}
2878+
}
2879+
2880+
message FloatBinaryLE {
2881+
2882+
// [required] Raw float data encoded as little-endian IEEE-754 float32 values.
2883+
bytes bytes_le = 1;
2884+
2885+
// [required] Number of float elements in the payload.
2886+
int32 dimension = 2;
2887+
}
2888+
2889+
message FloatList {
2890+
2891+
// [required] Float values for the field.
2892+
repeated float values = 1;
2893+
}
2894+
2895+
28322896
message BoostingQuery {
28332897

28342898
// Floating point number used to decrease or increase the relevance scores of the query. Boost values are relative to the default value of 1.0. A boost value between 0 and 1.0 decreases the relevance score. A value greater than 1.0 increases the relevance score.

0 commit comments

Comments
 (0)