I'm having trouble with the Solr 9 upgrade (#9260). As I mentioned in standup. Some of our custom Dataverse fields (45 of them) are showing up in http://localhost:8983/solr/collection1/schema/fields but some aren't such as fileTypeGroupFacet.
If I push what I have so far, would someone else like to try? I asked in standup but no one had heard of this problem.
Yes please push. Can't look right now, but maybe later
Ok, I just pushed to https://github.com/IQSS/dataverse/tree/9260-solr9
I also set up a test runner at https://github.com/pdurbin/dataverse-api-test-runner/actions/workflows/solr9.yml
I kicked off a run but it's the first one so it might not get very far: https://github.com/pdurbin/dataverse-api-test-runner/actions/runs/5869283955
We probably need to push the develop image once... An update ye olde branches
Never fear, in that solr9 workflow I'm building the base and app images.
It's showing the same errors I'm seeing on my laptop. I guess that's somewhat reassuring, in a weird way.
Lots of SearchIT failures, for example.
Less blocked. Making progress.
Adding this was key: <schemaFactory class="ClassicIndexSchemaFactory"/>
I should mention (again) that I do have XSLTs for solrconfig.xml.
The current error is "possible analysis error" https://github.com/IQSS/dataverse/commit/df0046961851ef8a1d0a511382f9c01a4703b41e
Ok, I gave up the approach I was taking in https://github.com/IQSS/dataverse/tree/9260-solr9 where I tried to start from vanilla config files from Solr 9.3.0. All sort of problems.
I just created a new branch and https://github.com/IQSS/dataverse/pull/9787 with a different approach: simply copy over our 8.11.1 config files as is.
The main change that was needed was here: https://github.com/IQSS/dataverse/pull/9787/commits/10cb29440f52a19d745e9bae300580d7b6bf6402
"fix XSLTResponseWriter namespace and enable scripting module"
SearchIT passed for me locally. I just switched the branch on my runner and fired off the full API test suite: https://github.com/pdurbin/dataverse-api-test-runner/actions/runs/5880587423
Last updated: Nov 01 2025 at 14:11 UTC