File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/main/java/edu/harvard/iq/dataverse/search Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ public void init() {
3030 HttpJettySolrClient httpClient = new HttpJettySolrClient .Builder (getSolrUrl ()).build ();
3131
3232 solrClient = new ConcurrentUpdateJettySolrClient .Builder (
33- getSolrUrl (), httpClient ).withDefaultCollection ("collection1" ).build ();
33+ getSolrUrl (), httpClient ).withDefaultCollection (getSolrCollection () ).build ();
3434 }
3535
3636 @ PreDestroy
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ public class SolrClientService extends AbstractSolrClientService {
3030
3131 @ PostConstruct
3232 public void init () {
33- solrClient = new HttpJettySolrClient .Builder (getSolrUrl ()).build ();
33+ solrClient = new HttpJettySolrClient .Builder (getSolrUrl ()).withDefaultCollection ( getSolrCollection ()). build ();
3434 }
3535
3636 @ PreDestroy
You can’t perform that action at this time.
0 commit comments