summaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorHÃ¥vard Pettersen <3535158+havardpe@users.noreply.github.com>2021-10-06 11:45:10 +0200
committerGitHub <noreply@github.com>2021-10-06 11:45:10 +0200
commitf63d33eb7a47c3bfd80229098a71eae1b3b48300 (patch)
tree6ea9b2454e36303c67939f6a6b1c6fcbe5befd20 /searchlib
parent95c5bf68acbbc48749941b12d1754a7f6998bece (diff)
parentcb491f047acd308bce9f3074d42f314697e0b8a7 (diff)
Merge pull request #19431 from vespa-engine/havardpe/add-errors-to-reply
add errors to reply messages
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/protobuf/search_protocol.proto6
1 files changed, 6 insertions, 0 deletions
diff --git a/searchlib/src/protobuf/search_protocol.proto b/searchlib/src/protobuf/search_protocol.proto
index ded19fe132f..b41c3b65a74 100644
--- a/searchlib/src/protobuf/search_protocol.proto
+++ b/searchlib/src/protobuf/search_protocol.proto
@@ -51,6 +51,11 @@ message SearchReply {
repeated Hit hits = 7;
bytes grouping_blob = 8; // serialized opaquely like now, to be changed later
bytes slime_trace = 9;
+ repeated Error errors = 10;
+}
+
+message Error {
+ string message = 1;
}
message Hit {
@@ -79,6 +84,7 @@ message DocsumRequest {
message DocsumReply {
bytes slime_summaries = 1; // result array inside slime object
+ repeated Error errors = 2;
}
message MonitorRequest {