import "library/cpp/getoptpb/proto/confoption.proto";

package NUtils;

message TParams {
    option (NGetoptPb.Title) = "Tool for patching factor and snippet requests with actual docids";

    required string Basesearch = 1 [(NGetoptPb.Conf).Descr = "basesearch host"];
    optional string Collection = 2 [(NGetoptPb.Conf).Descr = "basesearch collection"];

    required string SearchInput = 3 [(NGetoptPb.Conf).Descr = "path to the input file with search queries"];

    optional string FactorInput = 4 [(NGetoptPb.Conf).Descr = "path to the input file with factor queries"];
    optional string SnippetInput = 5 [(NGetoptPb.Conf).Descr = "path to the input file with snippet queries"];

    optional string FactorOutput = 6 [(NGetoptPb.Conf).Descr = "path to the output file with factor queries"];
    optional string SnippetOutput = 7 [(NGetoptPb.Conf).Descr = "path to the output file with snippet queries"];

    optional bool Verbose = 8 [(NGetoptPb.Conf).Descr = "verbose mode"];

    optional bool WriteEmptyLines = 9 [(NGetoptPb.Conf).Descr = "write empty lines for requests with no docids (nothing found on search stage"];

    optional int32 ExtraDocs = 10 [(NGetoptPb.Conf).Descr = "extra documents to put into a request (can be negative)"];
}
