public ResponseHeader SendAndParseHeader(ISolrCommand cmd) { var r = Send(cmd); var xml = XDocument.Parse(r); return(headerParser.Parse(xml)); }
/// <summary> /// Sends a command and parses the ReplicationResponse. /// </summary> /// <param name="cmd">The CMD.</param> /// <returns></returns> public ReplicationIndexVersionResponse SendAndParseIndexVersion(ISolrCommand cmd) { var r = Send(cmd); var xml = XDocument.Parse(r); return(indexversionParser.Parse(xml)); }
/// <summary> /// Sends a command and parses the ReplicationResponse. /// </summary> /// <param name="cmd">The CMD.</param> /// <returns></returns> public ReplicationStatusResponse SendAndParseStatus(ISolrCommand cmd) { var r = Send(cmd); var xml = XDocument.Parse(r); return(statusParser.Parse(xml)); }
/// <summary> /// Sends a command and parses the ReplicationResponse. /// </summary> /// <param name="cmd">The CMD.</param> /// <returns></returns> public ReplicationDetailsResponse SendAndParseDetails(ISolrCommand cmd) { var r = Send(cmd); var xml = XDocument.Parse(r); return(detailsParser.Parse(xml)); }
public ExtractResponse SendAndParseExtract(ISolrCommand cmd) { var r = Send(cmd); var xml = XDocument.Parse(r); return(extractResponseParser.Parse(xml)); }
public async Task <ResponseHeader> SendAndParseHeaderAsync(ISolrCommand cmd) { var r = await SendAsync(cmd); var xml = XDocument.Parse(r); return(headerParser.Parse(xml)); }
/// <inheritdoc /> public async Task <ExtractResponse> SendAndParseExtractAsync(ISolrCommand cmd) { var r = await SendAsync(cmd); var xml = XDocument.Parse(r); return(extractResponseParser.Parse(xml)); }
public Task <ResponseHeader> SendAndParseHeaderAsync(ISolrCommand cmd) { throw new NotImplementedException(); }
public Task <string> SendAsync(ISolrCommand cmd) { throw new NotImplementedException(); }
public ExtractResponse SendAndParseExtract(ISolrCommand cmd) { return(PerformBasicOperation(operations => operations.SendAndParseExtract(cmd))); }
public string Send(ISolrCommand cmd) { SetLastOperation(); return(null); }
public Task <ResponseHeader> SendAndParseHeaderAsync(ISolrCommand cmd) { SetLastOperation(); return(Task.FromResult <ResponseHeader>(null)); }
/// <summary> /// Sends a command and parses the ReplicationResponse. /// </summary> /// <param name="cmd">The CMD.</param> /// <returns></returns> public ReplicationDetailsResponse SendAndParseDetails(ISolrCommand cmd) { var r = Send(cmd); var xml = XDocument.Parse(r); return detailsParser.Parse(xml); }
/// <summary> /// Sends a command and parses the ReplicationResponse. /// </summary> /// <param name="cmd">The CMD.</param> /// <returns></returns> public ReplicationStatusResponse SendAndParseStatus(ISolrCommand cmd) { var r = Send(cmd); var xml = XDocument.Parse(r); return statusParser.Parse(xml); }
public ResponseHeader SendAndParseHeader(ISolrCommand cmd) { throw new NotImplementedException(); }
public Task <ExtractResponse> SendAndParseExtractAsync(ISolrCommand cmd) { throw new NotImplementedException(); }
public Task <string> SendAsync(ISolrCommand cmd) { return(cmd.ExecuteAsync(connection)); }
public async Task <ResponseHeader> SendAndParseHeader(ISolrCommand cmd) { var jsonResponse = await Send(cmd); return(JsonConvert.DeserializeObject <ResponseHeader>(jsonResponse)); }
public async Task <string> Send(ISolrCommand cmd) { return(await cmd.Execute(connection)); }
/// <summary> /// Sends a command and parses the ResponseHeader. /// </summary> /// <param name="cmd">The CMD.</param> /// <returns></returns> public ResponseHeader SendAndParseHeader(ISolrCommand cmd) { var r = Send(cmd); var xml = XDocument.Parse(r); return headerParser.Parse(xml); }
public Task <ExtractResponse> SendAndParseExtractAsync(ISolrCommand cmd) { SetLastOperation(); return(Task.FromResult <ExtractResponse>(null)); }
public string Send(ISolrCommand cmd) { throw new NotImplementedException(); }
public Task <string> SendAsync(ISolrCommand cmd) => PerformBasicOperation(operations => operations.SendAsync(cmd));
public ExtractResponse SendAndParseExtract(ISolrCommand cmd) { throw new NotImplementedException(); }
public Task <ResponseHeader> SendAndParseHeaderAsync(ISolrCommand cmd) => PerformBasicOperation(operations => operations.SendAndParseHeaderAsync(cmd));
/// <summary> /// Sends a command and parses the ReplicationResponse. /// </summary> /// <param name="cmd">The CMD.</param> /// <returns></returns> public ReplicationIndexVersionResponse SendAndParseIndexVersion(ISolrCommand cmd) { var r = Send(cmd); var xml = XDocument.Parse(r); return indexversionParser.Parse(xml); }
public ExtractResponse SendAndParseExtract(ISolrCommand cmd) { SetLastOperation(); return(null); }
/// <summary> /// Sends the specified Command to Solr. /// </summary> /// <param name="command">The Command to send.</param> /// <returns></returns> public string Send(ISolrCommand command) { return command.Execute(connection); }
public Task <string> SendAsync(ISolrCommand cmd) { SetLastOperation(); return(Task.FromResult <string>(null)); }
public Task <ExtractResponse> SendAndParseExtractAsync(ISolrCommand cmd) => PerformBasicOperation(operations => operations.SendAndParseExtractAsync(cmd));
public ResponseHeader SendAndParseHeader(ISolrCommand cmd) { SetLastOperation(); return(null); }
public string Send(ISolrCommand cmd) { return(PerformBasicOperation(operations => operations.Send(cmd))); }
public ResponseHeader SendAndParseHeader(ISolrCommand cmd) { return(PerformBasicOperation(operations => operations.SendAndParseHeader(cmd))); }
/// <summary> /// Sends the specified Command to Solr. /// </summary> /// <param name="command">The Command to send.</param> /// <returns></returns> public string Send(ISolrCommand command) { return(command.Execute(connection)); }
public ResponseHeader SendAndParseHeader(ISolrCommand cmd) { return(((LowLevelSolr)this).SendAndParseHeader(cmd)); }