Open sgurnick opened 3 weeks ago
@sgurnick I thought the config in solr/conf
worked out of the box with the version of solr 9 (I think 9.6 locally) that we have. Your changes seem to make sense so maybe they're safe to make no matter the solr 9 version. I'll take a look at this more when I'm back in the office on Monday and get back to you.
I started a fresh solr 9.7 locally and it loaded the the solr core for me with the config in solr/conf
. FWIW it looks like the only change between Avalon 7.7.2 and 7.8 is commenting out a couple copyField
configs (https://github.com/avalonmediasystem/avalon/compare/v7.7.2...main#diff-76699b2586a37ec4cfcb45a02364fc31ea75c15298528af372eb6e6c4fe82ed1)
Also the way we're setting up the core is running solr-precreate avalon /path/to/avalon/config
in a solr docker container.
I provisioned a fresh Solr 9.7 server in conjunction with an upgrade of Avalon from
7.6
to7.7.2
. It is my understanding that Avalon7.7.2
does support the use of Solr 9.After I confirmed my standalone Solr 9 instance was up and running, I created a new core and used the files provided in solr/conf of the Avalon repo for the
7.7.2
tag.After restarting Solr, the core could not load. These warnings and errors appeared in the
solr.log
file:It appears the problem is caused by lines 31-37 in the
solrconfig.xml
file: https://github.com/avalonmediasystem/avalon/blob/c1a19e0a89fdea66ba40f7a1a93fd66c6dbe21aa/solr/conf/solrconfig.xml#L31-L37In a fresh install of Solr 9:
contrib
anddist
sub-directories within the solr install directory are no longer presentsolr-cell-\d.*\.jar
file no longer existsThese are reflected in the Other section of the Major Changes in Solr 9 page:
solr-extraction-
jar instead ofsolr-cell-
jars.To get the avalon core loaded in my Solr 9 instance, I updated the lines 31-37 to just the following lines:
After restarting Solr, the core loaded successfully without the above mentioned warnings/errors.
Questions:
solr/conf
in the avalon repo what I should be using when creating a new Solr 9 core for use with Avalon 7.7 or higher?Thank you for your help and guidance.