Skip to content

Commit

Permalink
Proto folder should mirror project structure
Browse files Browse the repository at this point in the history
Signed-off-by: Finn Carroll <[email protected]>
  • Loading branch information
finnegancarroll committed Sep 23, 2024
1 parent e981db7 commit 794d746
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions server/src/main/proto/search/SearchHits.proto
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ message SortValueProto {
int32 byte_value = 6;
int32 short_value = 7;
bool bool_value = 8;
bytes bytes_value = 9; // BytesRef
bytes bytes_value = 9;
string big_integer_value = 10;
bool is_null = 11; // Can be explicitly null
bool is_null = 11;
}
}

Expand Down Expand Up @@ -78,7 +78,7 @@ message SearchHitProto {
map<string, HighlightFieldProto> highlight_fields = 8;
map<string, float> matched_queries = 9;
map<string, SearchHitsProto> inner_hits = 10;
optional bytes source = 11; // JSON payload - Move to map?
optional bytes source = 11; // compressible map
optional string id = 12;
optional NestedIdentityProto nested_identity = 13;
optional SearchShardTargetProto shard = 14;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
syntax = "proto3";

package org.opensearch.proto.search;
package org.opensearch.proto.fetch;

import "search/SearchHits.proto";

option java_outer_classname = "FetchSearchResultProtoDef";

message FetchSearchResultProto {
SearchHitsProto hits = 1;
org.opensearch.proto.search.SearchHitsProto hits = 1;
int64 counter = 2;
}

0 comments on commit 794d746

Please sign in to comment.