Skip to content

armgit / xerj

Public Imported from GitHub
0

AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.

polish(rustdoc): fix the two broken links in XerjError::CircuitBreaking's doc (#1569)

xerj-org4280caa11323
diff --git a/engine/crates/xerj-common/src/error.rs b/engine/crates/xerj-common/src/error.rs
index 4f051bb13..3e028e2f4 100644
--- a/engine/crates/xerj-common/src/error.rs
+++ b/engine/crates/xerj-common/src/error.rs
@@ -110,10 +110,10 @@ pub enum XerjError {
/// A memory circuit breaker tripped: admitting the request would push the
/// process past its memtable / RSS budget. Surfaced as HTTP 429
/// `circuit_breaking_exception`, mirroring Elasticsearch's parent breaker.
- /// Distinct from [`ResourceExhausted`] (thread-pool queue rejection →
+ /// Distinct from [`Self::ResourceExhausted`] (thread-pool queue rejection →
/// `es_rejected_execution_exception`). Display is the bare reason (no
/// type prefix): the ES mapper already emits the `circuit_breaking_exception`
- /// `type`, so the reason should read like ES's (e.g. "[parent] …").
+ /// `type`, so the reason should read like ES's (e.g. "\[parent\] …").
#[error("{reason}")]
CircuitBreaking { reason: String },