formatting

This commit is contained in:
mujah
2016-11-12 12:35:55 +08:00
parent 26864e2897
commit 8ccfd201e6
2 changed files with 109 additions and 109 deletions
@@ -13,13 +13,13 @@ import org.springframework.data.solr.repository.config.EnableSolrRepositories;
@ComponentScan
public class SolrConfig {
@Bean
public SolrClient solrClient() {
return new HttpSolrClient("http://localhost:8983/solr");
}
@Bean
public SolrClient solrClient() {
return new HttpSolrClient("http://localhost:8983/solr");
}
@Bean
public SolrTemplate solrTemplate(SolrClient client) throws Exception {
return new SolrTemplate(client);
}
@Bean
public SolrTemplate solrTemplate(SolrClient client) throws Exception {
return new SolrTemplate(client);
}
}