diff --git a/node/src/remote/index.ts b/node/src/remote/index.ts index 347f98b9..a3d02044 100644 --- a/node/src/remote/index.ts +++ b/node/src/remote/index.ts @@ -94,7 +94,7 @@ export class RemoteQuery extends Query { } if ((this as any)._useIndex === false) { - throw new Error('LanceDB Cloud does not yet support useIndex=false') + console.warn('LanceDB Cloud does not yet support useIndex=false, ignoring option.') } const data = await this._client.search( diff --git a/python/lancedb/remote/table.py b/python/lancedb/remote/table.py index 25cc46e5..e87f95b5 100644 --- a/python/lancedb/remote/table.py +++ b/python/lancedb/remote/table.py @@ -12,6 +12,7 @@ # limitations under the License. import uuid +import warnings from functools import cached_property from typing import Optional, Union @@ -102,9 +103,7 @@ class RemoteTable(Table): if query.prefilter: raise NotImplementedError("Cloud support for prefiltering is coming soon") if not query.use_index: - raise NotImplementedError( - "LanceDB Cloud does not yet support use_index=False" - ) + warnings.warn("LanceDB Cloud does not yet support use_index=False") result = self._conn._client.query(self._name, query) return self._conn._loop.run_until_complete(result).to_arrow()