Table of Contents

Constructor IngestedChunk

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

IngestedChunk(string, string, string, int, string, string?, int, int, int, int, string, string, string, ContentHash, DateTimeOffset)

The typed view of one stored row. SP3 writes Dictionary<string, object?> through the dynamic collection; this is the mapper both directions.

public IngestedChunk(string Key, string SourceId, string DocumentId, int Ordinal, string Text, string? Breadcrumb, int CharStart, int CharEnd, int TokenCount, int Page, string BlockKind, string ExtractorId, string MediaType, ContentHash ContentHash, DateTimeOffset CreatedUtc)

Parameters

Key string

Spec 9.3's 32-hex identity.

SourceId string

The source that produced it.

DocumentId string

The document it came from.

Ordinal int

Position in the document. Stored, but NOT part of identity.

Text string

The stored text — never the embed text.

Breadcrumb string

The stored breadcrumb, verbatim. Null when there is no heading path.

CharStart int

Inclusive offset into ExtractedDocument.Text.

CharEnd int

Exclusive offset into ExtractedDocument.Text.

TokenCount int

What the chunk cost.

Page int

The page, or -1 when unknown.

BlockKind string

The originating DocumentBlockKind's name.

ExtractorId string

The extractor that produced the document.

MediaType string

The document's media type.

ContentHash ContentHash

The chunk's content hash — over the EMBED text (spec 9.3).

CreatedUtc DateTimeOffset

When the row was written.