search command.
Connection
Local / embedded
Pointuri at a directory. LanceDB stores the table there, no server needed.
Object storage
uri also accepts s3://, gs://, and az:// prefixes for tables backed by
object storage.
Cloud and Enterprise
db:// URIs connect to LanceDB Cloud (api_key + region) or Enterprise
(api_key + host_override):
Search
Search is thesearch "<query>" <path> command. It returns ranked rows as their
canonical <id>.md file paths plus a score, so results compose with cat, wc,
and pipes (grep/rg stay lexical). It requires a table built with an embedding
function on a source field, so tbl.search(text) auto-embeds the query.
Limits
The resource is read-only and bounds how much an agent can pull:search_limit(10): default top-k returned bysearch.max_rows(1,000): hard ceiling on rows listed per folder.