mirror of
https://github.com/lancedb/lancedb.git
synced 2026-01-09 05:12:58 +00:00
be consistent about cloud behavior
This commit is contained in:
@@ -93,6 +93,10 @@ export class RemoteQuery<T = number[]> extends Query<T> {
|
||||
queryVector = query as number[]
|
||||
}
|
||||
|
||||
if ((this as any)._useIndex === false) {
|
||||
throw new Error('LanceDB Cloud does not yet support useIndex=false')
|
||||
}
|
||||
|
||||
const data = await this._client.search(
|
||||
this._name,
|
||||
queryVector,
|
||||
|
||||
Reference in New Issue
Block a user