@resistdesign/voltra
    Preparing search index...

    Type Alias SearchTrace

    Runtime counters and metadata collected during a search.

    type SearchTrace = {
        batchGetCalls: number;
        batchGetKeys: number;
        candidatesVerified: number;
        postingsPages: number;
        primaryTokenHash?: string;
        queryHash?: string;
        startTimeMs: number;
        storageBatchReadCalls: number;
        storageItemReadCalls: number;
        storageQueryCalls: number;
        tokenCount?: number;
    }
    Index

    Properties

    batchGetCalls: number

    Number of batch get calls for token checks.

    batchGetKeys: number

    Total number of keys checked via batch get calls.

    candidatesVerified: number

    Number of candidates verified for exact matching.

    postingsPages: number

    Number of postings pages read.

    primaryTokenHash?: string

    Hash of the primary token chosen for paging.

    queryHash?: string

    Hash of the normalized query text for correlation.

    startTimeMs: number

    Epoch timestamp when the search started.

    storageBatchReadCalls: number

    Storage batch-read calls issued by the active index driver.

    storageItemReadCalls: number

    Storage item-read calls issued by the active index driver.

    storageQueryCalls: number

    Storage query calls issued by the active index driver.

    tokenCount?: number

    Total number of tokens processed for the query.