@maschinenlesbar.org/dip-bundestag-cli
    Preparing search index...

    Interface ReadDocumentInput

    The input of readDocument: the document's id, its number, or words of its title.

    interface ReadDocumentInput {
        candidateLimit?: number;
        electoralTerm?: number;
        find?: string;
        id?: string | number;
        kind?: "drucksache" | "plenarprotokoll";
        limit?: number;
        number?: string;
        offset?: number;
        title?: string;
    }
    Index
    candidateLimit?: number

    At most this many candidates when several match (1-25, default 10).

    electoralTerm?: number

    The electoral term a number or title search is limited to.

    find?: string

    Only the passages that hold this text (case, line breaks and hyphenation at a line end aside).

    id?: string | number

    The DIP id of the document (e.g. 267686).

    kind?: "drucksache" | "plenarprotokoll"

    drucksache (default) or plenarprotokoll.

    limit?: number

    At most this many passages (1-40, default 8).

    number?: string

    The document number: "20/6875" (BT-Drucksache), "170/23" (BR-Drucksache), "20/120" (a Bundestag sitting), "1033" (a Bundesrat sitting).

    offset?: number

    The first passage to give (of all, or of those find selects; default 0).

    title?: string

    Whole words of the title (f.titel).