NitroSQLite
React native nitro sqlite vecInterfaces

API Reference / react-native-nitro-sqlite-vec / KnnMatch

Interface: KnnMatch

TypeScript

Source files: TypeScript

One nearest-neighbor match returned by knnSearch.

Indexable

[column: string]: unknown

Allows additional columns when using this row shape with custom queries.

Properties

distance

distance: number

Defined in: index.ts:14

Distance from the query vector, ordered from smallest to largest.


rowid

rowid: number

Defined in: index.ts:12

SQLite row ID of the matching vector.