Skip to main content

drive_text_rebuild

Function drive_text_rebuild 

Source
pub async fn drive_text_rebuild<H, R>(
    hexastore: &H,
    registry: &R,
    analyzer: &str,
    seed_chars: u32,
    fingerprint: &str,
    allow: Option<&HashSet<StrHash>>,
    wipe: bool,
) -> Result<Option<RebuildReport>, ComputeError>
Expand description

Drive one full text-index rebuild against hexastore + registry.

The caller has already decided the WIPE policy (RebuildTextIndexRequest carries it): the startup shell passes wipe = true, the CLI-repair shell wipe = false. Returns None when another driver holds the lease (the caller waits on Describe, like the geo driver).