summaryrefslogtreecommitdiffstats
path: root/searchlib/src/protobuf
diff options
context:
space:
mode:
authorHåvard Pettersen <havardpe@yahooinc.com>2023-01-19 15:22:39 +0000
committerHåvard Pettersen <havardpe@yahooinc.com>2023-01-19 16:05:54 +0000
commit79ff30cd9ec64651af8deda8f6800c1234e79449 (patch)
tree7e70b512a97fd9e2f97ac6d8e2a09e7fd8ac6493 /searchlib/src/protobuf
parent8b3aecc4e3129f7a3cb8bab0dc4eb9f4c6701578 (diff)
separate profiling depth parameters
Diffstat (limited to 'searchlib/src/protobuf')
-rw-r--r--searchlib/src/protobuf/search_protocol.proto13
1 files changed, 12 insertions, 1 deletions
diff --git a/searchlib/src/protobuf/search_protocol.proto b/searchlib/src/protobuf/search_protocol.proto
index 1be68abad04..916788796b8 100644
--- a/searchlib/src/protobuf/search_protocol.proto
+++ b/searchlib/src/protobuf/search_protocol.proto
@@ -24,7 +24,18 @@ message SearchRequest {
bytes grouping_blob = 15; // serialized opaquely like now, to be changed later
string geo_location = 16; // to be moved into query_tree
bytes query_tree_blob = 17; // serialized opaquely like now, to be changed later
- int32 profile_depth = 18;
+ int32 profile_depth = 18; // new meaning: default ProfilingParams.depth
+ Profiling profiling = 19;
+}
+
+message Profiling {
+ ProfilingParams match = 1;
+ ProfilingParams first_phase = 2;
+ ProfilingParams second_phase = 3;
+}
+
+message ProfilingParams {
+ int32 depth = 1;
}
message TensorProperty {