`indexStats` still referenced UUID even though in https://github.com/lancedb/lancedb/pull/1702 we changed it to take name instead.
3.7 KiB
vectordb / Exports / ConnectionOptions
Interface: ConnectionOptions
Table of contents
Properties
- apiKey
- awsCredentials
- awsRegion
- hostOverride
- readConsistencyInterval
- region
- storageOptions
- timeout
- uri
Properties
apiKey
• Optional apiKey: string
API key for the remote connections
Can also be passed by setting environment variable LANCEDB_API_KEY
Defined in
awsCredentials
• Optional awsCredentials: AwsCredentials
User provided AWS crednetials.
If not provided, LanceDB will use the default credentials provider chain.
Deprecated
Pass aws_access_key_id, aws_secret_access_key, and aws_session_token
through storageOptions instead.
Defined in
awsRegion
• Optional awsRegion: string
AWS region to connect to. Default is defaultAwsRegion
Deprecated
Pass region through storageOptions instead.
Defined in
hostOverride
• Optional hostOverride: string
Override the host URL for the remote connection.
This is useful for local testing.
Defined in
readConsistencyInterval
• Optional readConsistencyInterval: number
(For LanceDB OSS only): The interval, in seconds, at which to check for updates to the table from other processes. If None, then consistency is not checked. For performance reasons, this is the default. For strong consistency, set this to zero seconds. Then every read will check for updates from other processes. As a compromise, you can set this to a non-zero value for eventual consistency. If more than that interval has passed since the last check, then the table will be checked for updates. Note: this consistency only applies to read operations. Write operations are always consistent.
Defined in
region
• Optional region: string
Region to connect. Default is 'us-east-1'
Defined in
storageOptions
• Optional storageOptions: Record<string, string>
User provided options for object storage. For example, S3 credentials or request timeouts.
The various options are described at https://lancedb.github.io/lancedb/guides/storage/
Defined in
timeout
• Optional timeout: number
Duration in milliseconds for request timeout. Default = 10,000 (10 seconds)
Defined in
uri
• uri: string
LanceDB database URI.
/path/to/database- local databases3://bucket/path/to/databaseorgs://bucket/path/to/database- database on cloud storagedb://host:port- remote database (LanceDB cloud)