diff --git a/docs/web/basics/sql.mdx b/docs/web/basics/sql.mdx index 46f54ce53..31e3af1f3 100644 --- a/docs/web/basics/sql.mdx +++ b/docs/web/basics/sql.mdx @@ -274,7 +274,7 @@ and removes it when finished. - **Python:** Install with `pip install lancedb`, save as `query_plan.py`, then run `python query_plan.py`. - **TypeScript:** Install with `npm install @lancedb/lancedb`, save as `query_plan.mts`, then run `node query_plan.mts` with Node.js 22.18 or later. -- **Rust:** Download and extract the [complete Rust examples](/static/code/search-rust.zip), then run `cargo run --locked --bin query_plan` from the extracted directory. +- **Rust:** Download and extract the [complete Rust examples](https://raw.githubusercontent.com/lancedb/lancedb/2af85bea8999c8cd23ec01ff62ba110c54652c10/docs/web/static/code/search-rust.zip), then run `cargo run --locked --bin query_plan` from the extracted directory. diff --git a/docs/web/ingestion/create-table.mdx b/docs/web/ingestion/create-table.mdx index cd5a941f5..5bae930a5 100644 --- a/docs/web/ingestion/create-table.mdx +++ b/docs/web/ingestion/create-table.mdx @@ -366,7 +366,7 @@ prints the result, and removes its temporary data when finished. `python ingestion.py`. - **TypeScript:** install `@lancedb/lancedb`, save the code as `ingestion.mts`, and run `node ingestion.mts` with Node.js 22.18 or later. -- **Rust:** download the [complete Rust project](/static/code/ingestion-rust.zip), +- **Rust:** download the [complete Rust project](https://raw.githubusercontent.com/lancedb/lancedb/2af85bea8999c8cd23ec01ff62ba110c54652c10/docs/web/static/code/ingestion-rust.zip), extract it, and run `cargo run --locked`. It includes `src/main.rs`, the Cargo manifest and a lockfile for the example's dependencies. The code is shown below. diff --git a/docs/web/ingestion/delete.mdx b/docs/web/ingestion/delete.mdx index 900d763ce..b80ab1c33 100644 --- a/docs/web/ingestion/delete.mdx +++ b/docs/web/ingestion/delete.mdx @@ -34,7 +34,7 @@ database is removed when the program finishes. `python delete_rows.py`. - **TypeScript:** install `@lancedb/lancedb`, save the code as `delete_rows.mts`, and run `node delete_rows.mts` with Node.js 22.18 or later. -- **Rust:** download the [Rust examples](/static/code/ingestion-feedback-rust.zip), +- **Rust:** download the [Rust examples](https://raw.githubusercontent.com/lancedb/lancedb/2af85bea8999c8cd23ec01ff62ba110c54652c10/docs/web/static/code/ingestion-feedback-rust.zip), extract the project, and run `cargo run --locked --bin delete`. @@ -85,7 +85,7 @@ prints the result, and removes its temporary data when finished. `python ingestion.py`. - **TypeScript:** install `@lancedb/lancedb`, save the code as `ingestion.mts`, and run `node ingestion.mts` with Node.js 22.18 or later. -- **Rust:** download the [complete Rust project](/static/code/ingestion-rust.zip), +- **Rust:** download the [complete Rust project](https://raw.githubusercontent.com/lancedb/lancedb/2af85bea8999c8cd23ec01ff62ba110c54652c10/docs/web/static/code/ingestion-rust.zip), extract it, and run `cargo run --locked`. It includes `src/main.rs`, the Cargo manifest and a lockfile for the example's dependencies. The code is shown below. diff --git a/docs/web/ingestion/index.mdx b/docs/web/ingestion/index.mdx index 28cfce650..26628c017 100644 --- a/docs/web/ingestion/index.mdx +++ b/docs/web/ingestion/index.mdx @@ -55,7 +55,7 @@ prints the result, and removes its temporary data when finished. `python ingestion.py`. - **TypeScript:** install `@lancedb/lancedb`, save the code as `ingestion.mts`, and run `node ingestion.mts` with Node.js 22.18 or later. -- **Rust:** download the [complete Rust project](/static/code/ingestion-rust.zip), +- **Rust:** download the [complete Rust project](https://raw.githubusercontent.com/lancedb/lancedb/2af85bea8999c8cd23ec01ff62ba110c54652c10/docs/web/static/code/ingestion-rust.zip), extract it, and run `cargo run --locked`. It includes `src/main.rs`, the Cargo manifest and a lockfile for the example's dependencies. The code is shown below. diff --git a/docs/web/ingestion/insert.mdx b/docs/web/ingestion/insert.mdx index 0b3c1b369..befc1c37b 100644 --- a/docs/web/ingestion/insert.mdx +++ b/docs/web/ingestion/insert.mdx @@ -112,7 +112,7 @@ Each program uses a temporary local database and removes it when finished. `python insert_progress.py`. - **TypeScript:** install `@lancedb/lancedb`, save the code as `insert_progress.mts`, and run `node insert_progress.mts` with Node.js 22.18 or later. -- **Rust:** download the [Rust examples](/static/code/ingestion-feedback-rust.zip), +- **Rust:** download the [Rust examples](https://raw.githubusercontent.com/lancedb/lancedb/2af85bea8999c8cd23ec01ff62ba110c54652c10/docs/web/static/code/ingestion-feedback-rust.zip), extract the project, and run `cargo run --locked --bin progress`. @@ -214,7 +214,7 @@ prints the result, and removes its temporary data when finished. `python ingestion.py`. - **TypeScript:** install `@lancedb/lancedb`, save the code as `ingestion.mts`, and run `node ingestion.mts` with Node.js 22.18 or later. -- **Rust:** download the [complete Rust project](/static/code/ingestion-rust.zip), +- **Rust:** download the [complete Rust project](https://raw.githubusercontent.com/lancedb/lancedb/2af85bea8999c8cd23ec01ff62ba110c54652c10/docs/web/static/code/ingestion-rust.zip), extract it, and run `cargo run --locked`. It includes `src/main.rs`, the Cargo manifest and a lockfile for the example's dependencies. The code is shown below. diff --git a/docs/web/ingestion/merge-insert.mdx b/docs/web/ingestion/merge-insert.mdx index baf241b30..8106e7706 100644 --- a/docs/web/ingestion/merge-insert.mdx +++ b/docs/web/ingestion/merge-insert.mdx @@ -243,7 +243,7 @@ prints the result, and removes its temporary data when finished. `python ingestion.py`. - **TypeScript:** install `@lancedb/lancedb`, save the code as `ingestion.mts`, and run `node ingestion.mts` with Node.js 22.18 or later. -- **Rust:** download the [complete Rust project](/static/code/ingestion-rust.zip), +- **Rust:** download the [complete Rust project](https://raw.githubusercontent.com/lancedb/lancedb/2af85bea8999c8cd23ec01ff62ba110c54652c10/docs/web/static/code/ingestion-rust.zip), extract it, and run `cargo run --locked`. It includes `src/main.rs`, the Cargo manifest and a lockfile for the example's dependencies. The code is shown below. diff --git a/docs/web/ingestion/update.mdx b/docs/web/ingestion/update.mdx index 20afba962..4e2c2160c 100644 --- a/docs/web/ingestion/update.mdx +++ b/docs/web/ingestion/update.mdx @@ -105,7 +105,7 @@ prints the result, and removes its temporary data when finished. `python ingestion.py`. - **TypeScript:** install `@lancedb/lancedb`, save the code as `ingestion.mts`, and run `node ingestion.mts` with Node.js 22.18 or later. -- **Rust:** download the [complete Rust project](/static/code/ingestion-rust.zip), +- **Rust:** download the [complete Rust project](https://raw.githubusercontent.com/lancedb/lancedb/2af85bea8999c8cd23ec01ff62ba110c54652c10/docs/web/static/code/ingestion-rust.zip), extract it, and run `cargo run --locked`. It includes `src/main.rs`, the Cargo manifest and a lockfile for the example's dependencies. The code is shown below. diff --git a/docs/web/reranking/index.mdx b/docs/web/reranking/index.mdx index 1de69a2a8..38efc8843 100644 --- a/docs/web/reranking/index.mdx +++ b/docs/web/reranking/index.mdx @@ -44,7 +44,7 @@ and removes it when finished. - **Python:** Install with `pip install lancedb`, save as `rerank_search.py`, then run `python rerank_search.py`. - **TypeScript:** Install with `npm install @lancedb/lancedb`, save as `rerank_search.mts`, then run `node rerank_search.mts` with Node.js 22.18 or later. -- **Rust:** Download and extract the [complete Rust examples](/static/code/search-rust.zip), then run `cargo run --locked --bin hybrid_search` from the extracted directory. +- **Rust:** Download and extract the [complete Rust examples](https://raw.githubusercontent.com/lancedb/lancedb/2af85bea8999c8cd23ec01ff62ba110c54652c10/docs/web/static/code/search-rust.zip), then run `cargo run --locked --bin hybrid_search` from the extracted directory. diff --git a/docs/web/search/filtering.mdx b/docs/web/search/filtering.mdx index c97b5c17a..58c974614 100644 --- a/docs/web/search/filtering.mdx +++ b/docs/web/search/filtering.mdx @@ -25,7 +25,7 @@ and removes it when finished. - **Python:** Install with `pip install lancedb`, save as `filtered_search.py`, then run `python filtered_search.py`. - **TypeScript:** Install with `npm install @lancedb/lancedb`, save as `filtered_search.mts`, then run `node filtered_search.mts` with Node.js 22.18 or later. -- **Rust:** Download and extract the [complete Rust examples](/static/code/search-rust.zip), then run `cargo run --locked --bin filter_search` from the extracted directory. +- **Rust:** Download and extract the [complete Rust examples](https://raw.githubusercontent.com/lancedb/lancedb/2af85bea8999c8cd23ec01ff62ba110c54652c10/docs/web/static/code/search-rust.zip), then run `cargo run --locked --bin filter_search` from the extracted directory. diff --git a/docs/web/search/full-text-search.mdx b/docs/web/search/full-text-search.mdx index 3132930e1..9c17fc50b 100644 --- a/docs/web/search/full-text-search.mdx +++ b/docs/web/search/full-text-search.mdx @@ -34,7 +34,7 @@ table when finished. No embedding model is needed for a text query. - **Python:** Install with `pip install lancedb`, save as `text_search.py`, then run `python text_search.py`. - **TypeScript:** Install with `npm install @lancedb/lancedb`, save as `text_search.mts`, then run `node text_search.mts` with Node.js 22.18 or later. -- **Rust:** Download and extract the [complete Rust examples](/static/code/search-rust.zip), then run `cargo run --locked --bin text_search` from the extracted directory. +- **Rust:** Download and extract the [complete Rust examples](https://raw.githubusercontent.com/lancedb/lancedb/2af85bea8999c8cd23ec01ff62ba110c54652c10/docs/web/static/code/search-rust.zip), then run `cargo run --locked --bin text_search` from the extracted directory. diff --git a/docs/web/search/hybrid-search.mdx b/docs/web/search/hybrid-search.mdx index 79d340ce3..b94d9e460 100644 --- a/docs/web/search/hybrid-search.mdx +++ b/docs/web/search/hybrid-search.mdx @@ -33,7 +33,7 @@ and removes it when finished. - **Python:** Install with `pip install lancedb`, save as `hybrid_search.py`, then run `python hybrid_search.py`. - **TypeScript:** Install with `npm install @lancedb/lancedb`, save as `hybrid_search.mts`, then run `node hybrid_search.mts` with Node.js 22.18 or later. -- **Rust:** Download and extract the [complete Rust examples](/static/code/search-rust.zip), then run `cargo run --locked --bin hybrid_search` from the extracted directory. +- **Rust:** Download and extract the [complete Rust examples](https://raw.githubusercontent.com/lancedb/lancedb/2af85bea8999c8cd23ec01ff62ba110c54652c10/docs/web/static/code/search-rust.zip), then run `cargo run --locked --bin hybrid_search` from the extracted directory. diff --git a/docs/web/search/index.mdx b/docs/web/search/index.mdx index 22178a852..3503954e6 100644 --- a/docs/web/search/index.mdx +++ b/docs/web/search/index.mdx @@ -50,7 +50,7 @@ and removes it when finished. - **Python:** Install with `pip install lancedb`, save as `search.py`, then run `python search.py`. - **TypeScript:** Install with `npm install @lancedb/lancedb`, save as `search.mts`, then run `node search.mts` with Node.js 22.18 or later. -- **Rust:** Download and extract the [complete Rust examples](/static/code/search-rust.zip), then run `cargo run --locked --bin vector_search` from the extracted directory. +- **Rust:** Download and extract the [complete Rust examples](https://raw.githubusercontent.com/lancedb/lancedb/2af85bea8999c8cd23ec01ff62ba110c54652c10/docs/web/static/code/search-rust.zip), then run `cargo run --locked --bin vector_search` from the extracted directory. diff --git a/docs/web/search/vector-search.mdx b/docs/web/search/vector-search.mdx index 3fb0a2fe8..2c37fef43 100644 --- a/docs/web/search/vector-search.mdx +++ b/docs/web/search/vector-search.mdx @@ -74,7 +74,7 @@ an embedding model. The temporary table is removed when the program finishes. - **Python:** Install with `pip install lancedb`, save as `vector_search.py`, then run `python vector_search.py`. - **TypeScript:** Install with `npm install @lancedb/lancedb`, save as `vector_search.mts`, then run `node vector_search.mts` with Node.js 22.18 or later. -- **Rust:** Download and extract the [complete Rust examples](/static/code/search-rust.zip), then run `cargo run --locked --bin vector_search` from the extracted directory. +- **Rust:** Download and extract the [complete Rust examples](https://raw.githubusercontent.com/lancedb/lancedb/2af85bea8999c8cd23ec01ff62ba110c54652c10/docs/web/static/code/search-rust.zip), then run `cargo run --locked --bin vector_search` from the extracted directory.