Skip to main content

IndexResult

@forge/monorepo


@forge/monorepo / backend/src / IndexResult

Type Alias: IndexResult

IndexResult = object

Defined in: backend/src/knowledge/index.ts:68

Properties

batches

readonly batches: number

Defined in: backend/src/knowledge/index.ts:71


elapsedMs

readonly elapsedMs: number

Defined in: backend/src/knowledge/index.ts:73

Wall-clock, so the freshness target can be measured rather than assumed.


graph

readonly graph: GraphIndexResult

Defined in: backend/src/knowledge/index.ts:82

What the graph cost, when GraphRAG ran — REQ-064 (#270), task #271.

Always present, never optional, and ran: false with every counter zero when it did not. An optional field would let a caller read "no graph work" and "GraphRAG is off" as the same thing, and they are not: the first is a source with nothing extractable, the second is a deployment that never asked.


model

readonly model: EmbeddingModelRef

Defined in: backend/src/knowledge/index.ts:74


removed

readonly removed: number

Defined in: backend/src/knowledge/index.ts:70


written

readonly written: number

Defined in: backend/src/knowledge/index.ts:69