pub type IndexResultsBatch = Result<Vec<Vec<IndexResult>>, Box<dyn Error>>;
enum IndexResultsBatch { Ok(Vec<Vec<IndexResult>>), Err(Box<dyn Error>), }
Contains the success value
Contains the error value