Documentation
    Preparing search index...

    Options for DocumentsApi.notify.

    interface NotifyOptions {
        wait?: boolean;
    }
    Index
    wait?: boolean

    Process synchronously (?wait=true) and resolve with per-document results instead of the 202 accepted/rejected lists. For backfill and tests; the normal path is asynchronous.