func addDocuments(s *solr.Solr) { doc1 := map[string]interface{}{`id`: `doc3`, `keywords`: `baby sitter`, `location`: `43.697225, -79.404949`, `labels`: []string{`SIDEJOB`}, `skills`: []string{`nanny`}, `accounttype`: `EXAMPLE`} err := s.AddDocuments(doc1) fmt.Println(err) }