Interface that defines the arguments that can be passed to the USearch constructor. It includes optional properties for a docstore, index, and mapping.

interface USearchArgs {
    docstore?: SynchronousInMemoryDocstore;
    index?: Index;
    mapping?: Record<number, string>;
}

Properties

docstore?: SynchronousInMemoryDocstore
index?: Index
mapping?: Record<number, string>