Type alias EnsureMdiIndexOptions

EnsureMdiIndexOptions: {
    fieldValueTypes: "double";
    fields: string[];
    inBackground?: boolean;
    name?: string;
    type: "mdi";
    unique?: boolean;
}

Options for creating a MDI index.

Type declaration

  • fieldValueTypes: "double"

    Data type of the dimension attributes.

  • fields: string[]

    An array containing attribute paths for the dimensions.

  • Optional inBackground?: boolean

    If set to true, the index will be created in the background to reduce the write-lock duration for the collection during index creation.

    Default: false

  • Optional name?: string

    A unique name for this index.

  • type: "mdi"

    Type of this index.

  • Optional unique?: boolean

    If set to true, a unique index will be created.

    Default: false