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

    Interface SearchOptions

    interface SearchOptions {
        from?: string;
        limit?: number;
        offset?: number;
        onlyAbstained?: boolean;
        parliament?: string[];
        party?: string[];
        period?: number[];
        reviewStatus?: string[];
        snippet?: boolean;
        to?: string;
        year?: number[];
    }

    Hierarchy (View Summary)

    Index
    from?: string

    ISO dates bounding dates.submitted, the date the Anfrage was asked. A record whose question date is unknown is outside every such window (and every year); SearchResult.undated counts the ones that matched otherwise.

    limit?: number
    offset?: number
    onlyAbstained?: boolean

    Only records the extractor abstained on somewhere — verified or not. The review queue (reviewQueue) is narrower: it leaves out human_verified.

    parliament?: string[]
    party?: string[]
    period?: number[]
    reviewStatus?: string[]

    Restrict to records in these review states.

    snippet?: boolean

    Include a text snippet around the first match (loads the record).

    to?: string
    year?: number[]