DVVectorAdapter class abstract

Where vectors live: pgvector, or a search service that stores them.

Constructors

DVVectorAdapter()

Properties

canFilter → bool
Whether nearest applies its filter before ranking.
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

dropIndex(String index) → Future<void>
nearest(String index, List<double> vector, {required int k, DVVectorFilter? filter}) → Future<List<DVVectorMatch>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readMeta(String key) → Future<String?>
Small durable values the index keeps about itself: which generation is active, which records a backfill has done, which job carried which record.
removeRecord(String index, String recordId) → Future<void>
toString() → String
A string representation of this object.
inherited
upsert(String index, List<DVVectorEntry> entries) → Future<void>
Stores a record's chunks, replacing any it had.
writeMeta(String key, String? value) → Future<void>

Operators

operator ==(Object other) → bool
The equality operator.
inherited