Skip to main content

index_record

Function index_record 

Source
pub async fn index_record(index: &str, id: &str, document: Map<String, Value>)
Expand description

Index (or re-index) a record after a write. Best-effort: an indexing failure is logged, never propagated — a search backend hiccup must not fail the write the user asked for. The index catches up on the next write or a reindex.