BurntSushi/ripgrep · error

indexing not enabled in this build of ripgrep

Error message

indexing not enabled in this build of ripgrep

What it means

Error "indexing not enabled in this build of ripgrep" thrown in BurntSushi/ripgrep.

Source

Thrown at crates/core/index/disabled.rs:4

use crate::flags::{HiArgs, SearchMode};

pub(crate) fn write(_args: &HiArgs) -> anyhow::Result<()> {
    anyhow::bail!("indexing not enabled in this build of ripgrep")
}

pub(crate) fn read(_args: &HiArgs, _mode: SearchMode) -> anyhow::Result<bool> {
    anyhow::bail!("indexing not enabled in this build of ripgrep")
}

View on GitHub (pinned to 3fce3b5bb0)

Solutions

  1. Use a ripgrep build compiled with indexing support
  2. Rebuild with the appropriate feature flag to enable indexing

When it happens

Trigger: Thrown at crates/core/index/disabled.rs:4 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of BurntSushi/ripgrep@3fce3b5bb0 (2026-08-06). Data as JSON: /data/errors/b2d56d426deaaf11.json. Report an issue: GitHub.