{"id":"b2d56d426deaaf11","repo":"BurntSushi/ripgrep","slug":"indexing-not-enabled-in-this-build-of-ripgrep","errorCode":null,"errorMessage":"indexing not enabled in this build of ripgrep","messagePattern":"indexing not enabled in this build of ripgrep","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/core/index/disabled.rs","lineNumber":4,"sourceCode":"use crate::flags::{HiArgs, SearchMode};\n\npub(crate) fn write(_args: &HiArgs) -> anyhow::Result<()> {\n    anyhow::bail!(\"indexing not enabled in this build of ripgrep\")\n}\n\npub(crate) fn read(_args: &HiArgs, _mode: SearchMode) -> anyhow::Result<bool> {\n    anyhow::bail!(\"indexing not enabled in this build of ripgrep\")\n}\n","sourceCodeStart":1,"sourceCodeEnd":10,"githubUrl":"https://github.com/BurntSushi/ripgrep/blob/3fce3b5bb0236da2df6d99672afb8a719642eca7/crates/core/index/disabled.rs#L1-L10","documentation":"Error \"indexing not enabled in this build of ripgrep\" thrown in BurntSushi/ripgrep.","triggerScenarios":"Thrown at crates/core/index/disabled.rs:4 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a ripgrep build compiled with indexing support","Rebuild with the appropriate feature flag to enable indexing"],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"analyzedSha":"3fce3b5bb0236da2df6d99672afb8a719642eca7","analyzedAt":"2026-08-06T01:39:05.073Z","schemaVersion":2}