BulkCopyCopyAsync Method

Copies the data provided by the dataReader to the index.

Definition

Namespace: SphinxConnector.SphinxQL
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public Task<int> CopyAsync(
	IDataReader dataReader,
	CancellationToken cancellationToken = default
)

Parameters

dataReader  IDataReader
cancellationToken  CancellationToken  (Optional)

Return Value

TaskInt32
The number of documents that were copied.

Exceptions

See Also