public Task <AsyncSearchSubmitResponse <TDocument> > SubmitAsync <TDocument>(AsyncSearchSubmitRequest request, CancellationToken cancellationToken = default)
 {
     request.BeforeRequest();
     return(DoRequestAsync <AsyncSearchSubmitRequest, AsyncSearchSubmitResponse <TDocument> >(request, cancellationToken));
 }
 public AsyncSearchSubmitResponse <TDocument> Submit <TDocument>(AsyncSearchSubmitRequest request)
 {
     request.BeforeRequest();
     return(DoRequest <AsyncSearchSubmitRequest, AsyncSearchSubmitResponse <TDocument> >(request));
 }