fix: fix passing prefilter flag to remote client (#677)

was passing this at the wrong position
This commit is contained in:
Rob Meng
2023-12-04 12:01:16 -05:00
committed by GitHub
parent 72765d8e1a
commit 94c8c50f96

View File

@@ -154,10 +154,10 @@ export class RemoteQuery<T = number[]> extends Query<T> {
queryVector,
(this as any)._limit,
(this as any)._nprobes,
(this as any)._prefilter,
(this as any)._refineFactor,
(this as any)._select,
(this as any)._filter,
(this as any)._prefilter
(this as any)._filter
)
return data.toArray().map((entry: Record<string, unknown>) => {