@resistdesign/voltra
    Preparing search index...

    Type Alias TypeInfoORMOrphanIndexCleanupConfig

    Options for safe orphan index cleanup.

    type TypeInfoORMOrphanIndexCleanupConfig = {
        structuredVersion?: number;
        textIndexFields?: string[];
    }
    Index

    Properties

    structuredVersion?: number

    Structured document mirror version observed by the auditing caller.

    When supplied, structured cleanup is compare-and-swap guarded against index writes that happen after the audit.

    textIndexFields?: string[]

    Persisted full-text fields observed by the audit.

    This supports cleanup of fields removed from the current TypeInfo schema. Every supplied field must still belong to the requested type namespace.