From 446f83733513ff57d9c167ff89e4e499cb53bf91 Mon Sep 17 00:00:00 2001 From: Aidan <64613310+aidangomar@users.noreply.github.com> Date: Wed, 27 Dec 2023 12:25:13 -0500 Subject: [PATCH] fix: createIndex index cache size (#741) --- node/src/remote/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/src/remote/index.ts b/node/src/remote/index.ts index 7fdcefd8..9d014a02 100644 --- a/node/src/remote/index.ts +++ b/node/src/remote/index.ts @@ -267,7 +267,7 @@ export class RemoteTable implements Table { 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,