package NSaas.NProto;

import "search/idl/meta.proto";

message TReqAnsRecord {
    required string Query = 1;
    required uint64 Timestamp = 2;
    required uint32 ErrorCode = 3 [default = 0];

    message Doc {
        required string Url = 1;
        optional string Category = 2;
        optional string Grouping = 3;
        repeated NMetaProtocol.TPairBytesBytes Properties = 4;
    };
    repeated Doc Document = 10;
    repeated NMetaProtocol.TPairBytesBytes Meta = 11;
}
