diff options
author | Håvard Pettersen <havardpe@oath.com> | 2019-03-07 09:42:31 +0000 |
---|---|---|
committer | Håvard Pettersen <havardpe@oath.com> | 2019-03-25 13:35:53 +0000 |
commit | 287b425e61cb40584991729bf2f4234d27d85cc8 (patch) | |
tree | 8ba4e95cfe3b5a212b4d422f956f88a7aee43700 /searchlib/src/protobuf/search_protocol.proto | |
parent | e957b28c666a6b0d45fc325efc11e894f7d63d94 (diff) |
initial searchprotocol implementation in cpp
Diffstat (limited to 'searchlib/src/protobuf/search_protocol.proto')
-rw-r--r-- | searchlib/src/protobuf/search_protocol.proto | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/searchlib/src/protobuf/search_protocol.proto b/searchlib/src/protobuf/search_protocol.proto index 1cdf15729eb..6a4d3cfb07a 100644 --- a/searchlib/src/protobuf/search_protocol.proto +++ b/searchlib/src/protobuf/search_protocol.proto @@ -50,6 +50,7 @@ message SearchReply { bool degraded_by_soft_timeout = 6; repeated Hit hits = 7; bytes grouping_blob = 8; // serialized opaquely like now, to be changed later + bytes slime_trace = 9; } message Hit { @@ -57,3 +58,34 @@ message Hit { double relevance = 2; bytes sort_data = 3; } + +message DocsumRequest { + int32 timeout = 1; // milliseconds + string session_key = 2; + string document_type = 3; + string summary_class = 4; + bool cache_query = 5; + bool dump_features = 6; + string rank_profile = 7; + repeated StringProperty feature_overrides = 8; + repeated TensorProperty tensor_feature_overrides = 9; + repeated StringProperty rank_properties = 10; + repeated TensorProperty tensor_rank_properties = 11; + repeated StringProperty highlight_terms = 12; + string geo_location = 13; // to be moved into query_tree + bytes query_tree_blob = 14; // serialized opaquely like now, to be changed later + repeated bytes global_ids = 15; +} + +message DocsumReply { + bytes slime_summaries = 1; // result array inside slime object +} + +message MonitorRequest { +} + +message MonitorReply { + bool online = 1; + int64 active_docs = 2; + int32 distribution_key = 3; +} |