aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/protobuf
diff options
context:
space:
mode:
authorArne H Juul <arnej@yahooinc.com>2021-10-29 07:24:14 +0000
committerArne H Juul <arnej@yahooinc.com>2021-10-29 07:24:14 +0000
commit4f67cb4c6c696cdd7b9f4cbe08c27a7b08731c2a (patch)
tree9d0cacf4277fc0bc6a10bc15087df554596cb0af /searchlib/src/protobuf
parent8f489ecf4630406f58492a74f99b5fb1285c1884 (diff)
proposed protocol extension
Diffstat (limited to 'searchlib/src/protobuf')
-rw-r--r--searchlib/src/protobuf/search_protocol.proto7
1 files changed, 7 insertions, 0 deletions
diff --git a/searchlib/src/protobuf/search_protocol.proto b/searchlib/src/protobuf/search_protocol.proto
index dea29a34af7..9e9222609d3 100644
--- a/searchlib/src/protobuf/search_protocol.proto
+++ b/searchlib/src/protobuf/search_protocol.proto
@@ -52,6 +52,7 @@ message SearchReply {
bytes grouping_blob = 8; // serialized opaquely like now, to be changed later
bytes slime_trace = 9;
repeated Error errors = 10;
+ repeated string match_feature_names = 11;
}
message Error {
@@ -62,6 +63,12 @@ message Hit {
bytes global_id = 1;
double relevance = 2;
bytes sort_data = 3;
+ repeated Feature features = 4;
+}
+
+message Feature {
+ double value = 1;
+ bytes tensor_blob = 2;
}
message DocsumRequest {