@maschinenlesbar.org/deutsche-digitale-bibliothek-cli
    Preparing search index...

    Interface ObjectFilters

    The filters a search or a count takes: the query, the friendly filters, and raw Solr filters.

    interface ObjectFilters {
        filters?: string[];
        fromYear?: number;
        keyword?: string;
        language?: string;
        mediaType?: "text" | "audio" | "image" | "video" | "none" | "3d";
        objectType?: string;
        place?: string;
        provider?: string;
        query: string;
        sector?:
            | "archive"
            | "library"
            | "monument"
            | "research"
            | "media"
            | "museum"
            | "other";
        toYear?: number;
    }

    Hierarchy (View Summary)

    Index
    filters?: string[]

    Raw Solr filter queries (fq), ANDed, for what the friendly filters don't reach.

    fromYear?: number

    Objects whose date range starts in this year or later (begin_time).

    keyword?: string

    A subject keyword.

    language?: string

    A language code as the index has it (ISO 639-2: "ger", "eng", "lat").

    mediaType?: "text" | "audio" | "image" | "video" | "none" | "3d"
    objectType?: string

    An object type ("Fotografie", "Akten").

    place?: string

    A place as the index spells it ("München", "Berlin"); exact, not a prefix.

    provider?: string

    A contributing institution as the index spells it ("Staatsarchiv München").

    query: string

    The Solr query (q): words, "phrases", AND/OR/NOT, field:value; *:* matches everything.

    sector?:
        | "archive"
        | "library"
        | "monument"
        | "research"
        | "media"
        | "museum"
        | "other"
    toYear?: number

    Objects whose date range starts in this year or earlier (begin_time), and in the year 1 or later: records without a usable date (begin_time 0, the index's placeholder) are left out.