Table of Contents

Constructor IngestionRunResult

Namespace
Qavren.Edge.Ingestion
Assembly
Qavren.Edge.Ingestion.dll

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

RunId string

The run id, also the state rows' last_run_id.

CollectionName string

The collection.

SourceId string

The source.

Outcome IngestionRunOutcome

How the run ended.

SuspendReason string

One of spec 10.2's reason strings, or null.

DocumentsSeen int

Enumerated, duplicates and skips included.

DocumentsSkipped int

Unchanged on a gate.

DocumentsIndexed int

Written.

DocumentsRemoved int

Pruned.

DocumentsFailed int

Recorded Failed.

ChunksAdded int

Chunks upserted.

ChunksRemoved int

Chunks deleted.

ChunksUnchanged int

Chunks already present by hash.

ChunksRepaired int

Chunks whose ordinal or offsets moved.

TokensEmbedded long

Tokens the run cost, as spec 9.5 defines them.

EmbedCalls int

Spec 9.5 step a1 calls, exactly.

Duration TimeSpan

Wall time.

RecipeHash string

The recipe every document was measured against.

Documents IReadOnlyList<IngestionDocumentResult>

The per-document results, in processing order.

Failure IngestionFailure

The single RUN-level fault; null on a Completed or Suspended run.