argia-migrator - v0.3.0
    Preparing search index...

    Interface ConformanceOptions<M, F>

    interface ConformanceOptions<M, F> {
        dimensions: number;
        filter?: F;
        idPrefix: string;
        metadata: (label: string) => M;
        store: VectorStore<M, F>;
    }

    Type Parameters

    • M
    • F
    Index
    dimensions: number

    Vector length the store accepts.

    filter?: F

    Passed to every query. Omit when the store needs none.

    idPrefix: string

    Prefix for every id the check writes, so its rows are recognisable in the scratch store.

    metadata: (label: string) => M

    Builds the metadata for a test point from a label. The store must return it unchanged in Hit.metadata; that is how the check tells which version a store kept.

    store: VectorStore<M, F>

    The adapter under test. Point it at an empty scratch table or collection: the check writes, deletes and leaves tombstones behind.