search command.
See LanceDB Resource for the full layout and command
list.
Dependencies
lancedb ships the embedded engine and the async client Mirage uses. It pulls
in pyarrow; no separate server is required.
Semantic search needs an embedding function inside the table. For real
multimodal (CLIP) embeddings, add the model deps to your builder
environment only (Mirage core never imports them):
Where the data lives
A LanceDB database is a directory of Lance files. Theuri decides where it is
stored, and the same LanceDBConfig works for every tier.
LanceDB OSS (local disk)
Object storage (S3 / GCS / Azure)
Pointuri at a bucket. Credentials come from the environment by default, or
pass them through storage_options.
LanceDB Cloud
Use adb:// URI plus an API key and region. The API key can also come from the
LANCEDB_API_KEY environment variable.
LanceDB Enterprise
Enterprise is the same as Cloud plus a custom endpoint viahost_override.
region and host_override are only applied for db:// URIs; they are ignored
for local and object-storage mounts.
Search setup
Search is powered by the table’s own embedding function, not by Mirage. Thesearch command is available when vector_column is set; the table must have
been created with an embedding function registered on a source field.
A minimal CLIP-backed table (run once in your builder environment):
search command. LanceDB embeds the query text
with the same model and runs vector search, returning ranked rows as canonical
file paths with a score, then their cards:
examples/python/lancedb/.
Config reference
| Field | Required | Default | Description |
|---|---|---|---|
uri | Yes | Local path, s3:///gs:///az:///hf://, or db:// (Cloud) | |
api_key | No | LanceDB Cloud/Enterprise API key (or LANCEDB_API_KEY) | |
region | No | us-east-1 | Cloud region (db:// only) |
host_override | No | Enterprise endpoint URL (db:// only) | |
storage_options | No | Object-storage options/credentials | |
table | No | Pin one table; the mount root becomes that table | |
group_by | No | [] | Columns that become nested folder levels |
id_column | No | id | Column used to name row files |
title_column | No | Column used as the card heading | |
blob_column | No | Column served as the raw blob/image file | |
blob_ext | No | bin | Extension for the blob file (jpg, png, …) |
vector_column | No | Vector column; presence enables the search command | |
search_limit | No | 10 | Default top-k returned by search |
max_rows | No | 1000 | Cap on rows scanned per folder listing |