Constructor IngestionRunResult
IngestionRunResult(string, string, string, IngestionRunOutcome, string?, int, int, int, int, int, int, int, int, int, long, int, TimeSpan, string, IReadOnlyList<IngestionDocumentResult>, IngestionFailure?)
What a run did. A suspension always lands on a committed boundary (spec 10.2).
public IngestionRunResult(string RunId, string CollectionName, string SourceId, IngestionRunOutcome Outcome, string? SuspendReason, int DocumentsSeen, int DocumentsSkipped, int DocumentsIndexed, int DocumentsRemoved, int DocumentsFailed, int ChunksAdded, int ChunksRemoved, int ChunksUnchanged, int ChunksRepaired, long TokensEmbedded, int EmbedCalls, TimeSpan Duration, string RecipeHash, IReadOnlyList<IngestionDocumentResult> Documents, IngestionFailure? Failure)
Parameters
RunIdstringThe run id, also the state rows'
last_run_id.CollectionNamestringThe collection.
SourceIdstringThe source.
OutcomeIngestionRunOutcomeHow the run ended.
SuspendReasonstringOne of spec 10.2's reason strings, or null.
DocumentsSeenintEnumerated, duplicates and skips included.
DocumentsSkippedintUnchanged on a gate.
DocumentsIndexedintWritten.
DocumentsRemovedintPruned.
DocumentsFailedintRecorded
Failed.ChunksAddedintChunks upserted.
ChunksRemovedintChunks deleted.
ChunksUnchangedintChunks already present by hash.
ChunksRepairedintChunks whose ordinal or offsets moved.
TokensEmbeddedlongTokens the run cost, as spec 9.5 defines them.
EmbedCallsintSpec 9.5 step a1 calls, exactly.
DurationTimeSpanWall time.
RecipeHashstringThe recipe every document was measured against.
DocumentsIReadOnlyList<IngestionDocumentResult>The per-document results, in processing order.
FailureIngestionFailureThe single RUN-level fault; null on a Completed or Suspended run.