Method RemoveDocumentAsync
RemoveDocumentAsync(string, string, string?, CancellationToken)
Deletes every chunk and the state row for one document.
Task<int> RemoveDocumentAsync(string sourceId, string documentId, string? collectionName = null, CancellationToken ct = default)
Parameters
sourceIdstringThe source id.
documentIdstringThe document id.
collectionNamestringNull resolves to the single configured collection.
ctCancellationTokenCancels the removal.