def setUp(self): self.solr_connection = connection_with_core( solr.SolrConnection(self.url)) self.solr_connection.delete_query('*:*') self.solr_connection.add_many(self.test_data) self.solr_connection.commit()
def setUp(self): self.solr_connection = connection_with_core( solr.SolrConnection('http://localhost:8983/solr')) self.solr_connection.delete_query('*:*') self.solr_connection.add_many(self.test_data) self.solr_connection.commit()
def setUp(self): self.solr_connection = connection_with_core(solr.SolrConnection(self.url)) self.solr_connection.delete_query('*:*') self.solr_connection.add_many(self.test_data) self.solr_connection.commit()
def setUp(self): self.solr_connection = connection_with_core(solr.SolrConnection('http://localhost:8983/solr')) self.solr_connection.delete_query('*:*') self.solr_connection.add_many(self.test_data) self.solr_connection.commit()