Files
zeekay ed50a30052 fix(brand): error links point at docs.hanzo.ai, not the upstream domain
Every error this engine returns carried a link to the upstream project's docs
domain, so a visitor to search.hanzo.ai was handed another company's URL —
the brand policy forbids referencing upstream at a user-facing surface. Live
today: GET https://search.hanzo.ai/ returns
{"code":"invalid_api_key","link":"https://www.meilisearch.com/..."}.

ONE source builds that link (Code::url in meilisearch-types/src/error.rs); the
snapshots and the OpenAPI examples in routes/tasks.rs assert it literally, so
they are updated to match — that is exactly what regenerating them would
produce, done deterministically instead of by a full test run.

Both spellings are covered: `/errors#name` and `/errors/#name`.

Pure string-literal edits: the format! arity and types are unchanged, so this
cannot alter behaviour beyond the emitted URL.

NOTE: this fork is at 1.45.2 while production runs 1.37.0, so shipping it is a
deliberate version jump, not a side effect of this commit.
2026-07-25 16:38:41 -07:00

19 lines
2.0 KiB
Rust

//! This file is generated by the build script.
//! Do not modify by hand, use the build.rs file.
#![allow(dead_code)]
pub const SMOL_SONGS: &str = "/Users/z/work/hanzo/search/target/debug/build/benchmarks-996e3188ea1bcbc5/out/smol-songs.csv";
pub const SMOL_SONGS_1_2: &str = "/Users/z/work/hanzo/search/target/debug/build/benchmarks-996e3188ea1bcbc5/out/smol-songs-1_2.csv";
pub const SMOL_SONGS_3_4: &str = "/Users/z/work/hanzo/search/target/debug/build/benchmarks-996e3188ea1bcbc5/out/smol-songs-3_4.csv";
pub const SMOL_SONGS_4_4: &str = "/Users/z/work/hanzo/search/target/debug/build/benchmarks-996e3188ea1bcbc5/out/smol-songs-4_4.csv";
pub const SMOL_WIKI_ARTICLES: &str = "/Users/z/work/hanzo/search/target/debug/build/benchmarks-996e3188ea1bcbc5/out/smol-wiki-articles.csv";
pub const SMOL_WIKI_ARTICLES_1_2: &str = "/Users/z/work/hanzo/search/target/debug/build/benchmarks-996e3188ea1bcbc5/out/smol-wiki-articles-1_2.csv";
pub const SMOL_WIKI_ARTICLES_3_4: &str = "/Users/z/work/hanzo/search/target/debug/build/benchmarks-996e3188ea1bcbc5/out/smol-wiki-articles-3_4.csv";
pub const SMOL_WIKI_ARTICLES_4_4: &str = "/Users/z/work/hanzo/search/target/debug/build/benchmarks-996e3188ea1bcbc5/out/smol-wiki-articles-4_4.csv";
pub const MOVIES: &str = "/Users/z/work/hanzo/search/target/debug/build/benchmarks-996e3188ea1bcbc5/out/movies.json";
pub const MOVIES_1_2: &str = "/Users/z/work/hanzo/search/target/debug/build/benchmarks-996e3188ea1bcbc5/out/movies-1_2.json";
pub const MOVIES_3_4: &str = "/Users/z/work/hanzo/search/target/debug/build/benchmarks-996e3188ea1bcbc5/out/movies-3_4.json";
pub const MOVIES_4_4: &str = "/Users/z/work/hanzo/search/target/debug/build/benchmarks-996e3188ea1bcbc5/out/movies-4_4.json";
pub const NESTED_MOVIES: &str = "/Users/z/work/hanzo/search/target/debug/build/benchmarks-996e3188ea1bcbc5/out/nested_movies.json";
pub const SMOL_ALL_COUNTRIES: &str = "/Users/z/work/hanzo/search/target/debug/build/benchmarks-996e3188ea1bcbc5/out/smol-all-countries.jsonl";