AzureCosmosDBMongoDBIndexOptions: {
    dimensions?: number;
    efConstruction?: number;
    indexType?: "ivf" | "hnsw";
    m?: number;
    numLists?: number;
    similarity?: AzureCosmosDBMongoDBSimilarityType;
    skipCreate?: boolean;
}

Azure Cosmos DB for MongoDB vCore Index Options.

Type declaration

  • Optional Readonlydimensions?: number

    Number of dimensions for vector similarity.

  • Optional ReadonlyefConstruction?: number

    The size of the dynamic candidate list for constructing the graph with the HNSW index.

  • Optional ReadonlyindexType?: "ivf" | "hnsw"
  • Optional Readonlym?: number

    The max number of connections per layer with the HNSW index.

  • Optional ReadonlynumLists?: number

    Number of clusters that the inverted file (IVF) index uses to group the vector data.

  • Optional Readonlysimilarity?: AzureCosmosDBMongoDBSimilarityType

    Similarity metric to use with the IVF index.

  • Optional ReadonlyskipCreate?: boolean

    Skips automatic index creation.