Constructor IngestionStatus
IngestionStatus(string, string, int, int, int, int, int, int, long, string?, IngestionRunOutcome?, string?, DateTimeOffset?)
What the collection currently holds (spec 12).
public IngestionStatus(string CollectionName, string RecipeHash, int DocumentCount, int IndexedCount, int FailedCount, int NoTextLayerCount, int StaleDocumentCount, int RecipeStaleCount, long ChunkCount, string? LastRunId, IngestionRunOutcome? LastOutcome, string? LastSuspendReason, DateTimeOffset? LastRunUtc)
Parameters
CollectionNamestringThe collection.
RecipeHashstringThe recipe this build embeds against.
DocumentCountintState rows.
IndexedCountintState rows whose status is
Indexed.FailedCountintState rows whose status is
Failed.NoTextLayerCountintState rows whose status is
NoTextLayer.StaleDocumentCountintRows whose
last_run_idis not the newest completed run's: candidates for a sweep.RecipeStaleCountintRows whose stored
recipe_hashdiffers from the current recipe — one indexed COUNT, and the ONLY sense of "outstanding" that is cheap to compute. Content drift on disk is NOT counted: establishing it means opening and streaming every file, which is a run.ChunkCountlongRows in the collection's data table.
LastRunIdstringThe newest run's id.
LastOutcomeIngestionRunOutcome?Its outcome.
LastSuspendReasonstringIts suspend reason.
LastRunUtcDateTimeOffset?When it started.