HnswIndex constructor
const
HnswIndex({})
Creates an HNSW index for a field of an Entity class.
Use the parameters to configure HNSW-based approximate nearest neighbor (ANN) search.
Some of the parameters can influence index construction and searching.
Changing these values causes re-indexing, which can take a while due to the complex nature of HNSW.
Implementation
const HnswIndex(
{required this.dimensions,
this.neighborsPerNode,
this.indexingSearchCount,
this.flags,
this.distanceType,
this.reparationBacklinkProbability,
this.vectorCacheHintSizeKB});