Table of Contents

Class VectorIndexBuilder

Namespace
MongoDB.EntityFrameworkCore.Metadata
Assembly
MongoDB.EntityFrameworkCore.dll

A fluent builder API for configuring MongoDB vector index options.

public class VectorIndexBuilder
Inheritance
VectorIndexBuilder
Derived
Inherited Members

Constructors

VectorIndexBuilder(IMutableIndex, VectorIndexOptions)

A fluent builder API for configuring MongoDB vector index options.

Properties

Index

The index being configured.

IndexOptions

The VectorIndexOptions being used.

Methods

AllowsFiltersOn(string)

Adds the given property to those that can be used to filter in vector queries with this index.

HasEdgeOptions(int, int)

Configures Hierarchical Navigable Small Worlds options for ANN searches.

HasQuantization(VectorQuantization?)

Configures Type of automatic vector quantization for your vectors. Use this setting only if your embeddings are float or double vectors.