Table of Contents

Class HnswIndexOptions

Namespace
Mythosia.VectorDb.Postgres
Assembly
Mythosia.VectorDb.Postgres.dll

HNSW index settings.

public sealed class HnswIndexOptions : VectorIndexOptions
Inheritance
HnswIndexOptions
Inherited Members

Properties

EfConstruction

HNSW: search scope during index build. Default: 64.

public int EfConstruction { get; set; }

Property Value

int

EfSearch

HNSW runtime ef_search default for search. Default: 40.

public int EfSearch { get; set; }

Property Value

int

IndexType

Index algorithm represented by this settings object.

public override IndexType IndexType { get; }

Property Value

IndexType

M

HNSW: max connections per node. Default: 16.

public int M { get; set; }

Property Value

int