@maschinenlesbar.org/openka-cli
    Preparing search index...

    Interface SyncReport

    interface SyncReport {
        blocked?: string;
        bytesFetched: number;
        discovered: number;
        discoveryFailed?: true;
        errors: string[];
        failed: number;
        interrupted: boolean;
        lowSpace?: string;
        needsReview: number;
        recatalogued: number;
        skipped: number;
        source: string;
        stored: number;
        timing: SyncTiming;
        unchanged: number;
        upstreamUnchanged: boolean;
        warnings: string[];
    }
    Index
    blocked?: string

    Why the source did not look at all (DiscoverResult.blocked), when it did not: its documents are disallowed and --ignore-robots was not given. Such a run is not an empty one, and is not recorded as a sync in the source's state.

    bytesFetched: number
    discovered: number
    discoveryFailed?: true

    True when discovery itself failed (the search page answered an error, the feed was unreadable): the run looked at nothing, so it is neither a quiet day nor a job that covered its window. Its errors hold the reason.

    errors: string[]
    failed: number
    interrupted: boolean

    True when signal stopped the run before every ref was handled.

    lowSpace?: string

    Why the run stopped before every ref was handled because a volume ran low on space (SyncOptions.space). Like an interrupted run, it keeps what it stored and counts neither as a success nor as a degraded source.

    needsReview: number

    Records stored with at least one abstained field.

    recatalogued: number

    Unchanged records that were on disk but missing from the catalog — what an interrupted run left behind — and were indexed again. Counted in unchanged.

    skipped: number

    Discovered, and left out by the job's selection (--ref, --retry-failed, --only-new) — no request was made for them.

    source: string
    stored: number
    timing: SyncTiming

    Where the run's time went (SyncTiming).

    unchanged: number
    upstreamUnchanged: boolean

    True when the upstream said nothing changed and no work was done.

    warnings: string[]