pub fn run(prj: &Project, backend: &dyn Backend) -> Result<usize>
Load the corpus, run the sync pass, and flush. Returns the document count. Errors (without writing) if any document fails to parse.