pub async fn refresh(index: &str) -> Result<Response, Error>