fix: createIndex index cache size (#741)

This commit is contained in:
Aidan
2023-12-27 12:25:13 -05:00
committed by Andrew Miracle
parent b71aa4117f
commit 3d8b2f5531

View File

@@ -267,7 +267,7 @@ export class RemoteTable<T = number[]> implements Table<T> {
const column = indexParams.column ?? 'vector'
const indexType = 'vector' // only vector index is supported for remote connections
const metricType = indexParams.metric_type ?? 'L2'
const indexCacheSize = indexParams ?? null
const indexCacheSize = indexParams.index_cache_size ?? null
const data = {
column,