Support multi-core Solr instances #3212
Labels
Component: Code Infrastructure
formerly "Feature: Code Infrastructure"
Feature: Search/Browse
User Role: Sysadmin
Installs, upgrades, and configures the system, connects via ssh
Milestone
Currently, Dataverse assumes the URL you're entering for Solr is a single-core instance (as evidenced by the code adding /solr to the config url)
https://github.com/IQSS/dataverse/blob/v4.4/src/main/java/edu/harvard/iq/dataverse/search/SearchServiceBean.java#L91
If the config option was changed to be the full endpoint URL to Solr, (so localhost:8983/solr instead of just localhost:8983) then Dataverse could support multi-core instances which have URLs that look like localhost:8983/solr/corename/
Although this config change will break existing installs, if there was an upgrade detection process, then you could easy just add /solr to the end of the existing config value and everything would be functional once again.
The text was updated successfully, but these errors were encountered: