mirror of
https://github.com/lancedb/lancedb.git
synced 2025-12-27 23:12:58 +00:00
- adds `loss` into the index stats for vector index - now `optimize` can retrain the vector index --------- Signed-off-by: BubbleCal <bubble-cal@outlook.com>
883 B
883 B
@lancedb/lancedb • Docs
@lancedb/lancedb / IndexStatistics
Interface: IndexStatistics
Properties
distanceType?
optional distanceType: string;
The type of the distance function used by the index. This is only present for vector indices. Scalar and full text search indices do not have a distance function.
indexType
indexType: string;
The type of the index
loss?
optional loss: number;
The KMeans loss value of the index, it is only present for vector indices.
numIndexedRows
numIndexedRows: number;
The number of rows indexed by the index
numIndices?
optional numIndices: number;
The number of parts this index is split into.
numUnindexedRows
numUnindexedRows: number;
The number of rows not indexed