Skip to main content

Module writer

Module writer 

Source
Expand description

Vector index writer trait and common types.

This module defines the VectorIndexWriter trait which all vector index writer implementations must follow. The primary implementations are:

  • HnswIndexWriter in the hnsw module for approximate nearest neighbor search
  • FlatIndexWriter in the flat module for exact search
  • IvfIndexWriter in the ivf module for memory-efficient search

Structs§

VectorIndexWriterConfig
Configuration for vector index writers common to all index types.

Traits§

VectorIndexWriter
Trait for vector index writers.