pub async fn add_documents_to_index<T>( index_name: &str, documents: Vec<T>, app_config: &ApplicationConfiguration, ) -> Result<()>where T: Serialize,