mirror of
https://github.com/lancedb/lancedb.git
synced 2025-12-25 22:29:58 +00:00
878 B
878 B
LanceDB is a database designed for retrieval, including vector, full-text, and hybrid search. It is a wrapper around Lance. There are two backends: local (in-process like SQLite) and remote (against LanceDB Cloud).
The core of LanceDB is written in Rust. There are bindings in Python, Typescript, and Java.
Project layout:
rust/lancedb: The LanceDB core Rust implementation.python: The Python bindings, using PyO3.nodejs: The Typescript bindings, using napi-rsjava: The Java bindings
Common commands:
- Check for compiler errors:
cargo check --features remote --tests --examples - Run tests:
cargo test --features remote --tests - Run specific test:
cargo test --features remote -p <package_name> --test <test_name> - Lint:
cargo clippy --features remote --tests --examples - Format:
cargo fmt --all
Before committing changes, run formatting.