I believe we were suffering from this bug where the dataverse is still marked as unpublished.
I decided to try and reindex everything, but now none of our published dataverses are showing up in the index.
image.png
Huh. Can you reproduce this on https://demo.dataverse.org ?
I wasn't involved with the publishing of the dataset. My guess was that they published the dataset at the same time as the dataverse -- but that works fine on the demo site.
When I'm logged in as admin on our site, only the unpublished dataverses show up
image.png
Sigh.
> sudo diff -u schema.xml /var/solr/data/collection1/conf/schema.xml
--- schema.xml 2025-11-05 14:05:43.745073331 +0000
+++ /var/solr/data/collection1/conf/schema.xml 2025-07-24 17:25:07.852093156 +0000
@@ -242,7 +242,6 @@
<field name="license" type="string" stored="true" indexed="true" multiValued="false"/>
<field name="fileCount" type="plong" stored="true" indexed="true" multiValued="false"/>
- <field name="datasetCount" type="plong" stored="true" indexed="true" multiValued="false"/>
<!--
METADATA SCHEMA FIELDS
Ah, yes, datasetCount must be it.
updated schema, re-indexed, all good.
PLUS, the initial issue with the "unpublished" icon seems to be resolved. perhaps related?
Hmm. Maybe. Do you want to leave a comment on that issue with your experience? It could be that GermΓ‘n Saracca simply had an out of date Solr schema.
Will do!
Done.
Thanks. As you may have seen I went ahead and closed that issue.
The 6.8 release notes say, "Due to changes in the Solr schema (the addition of field "datasetCount"), updating the Solr schema and reindexing is required."
Do you think that's enough? Should I add something like "Failure to do so will result in collections (dataverses) not transitioning from unpublished to published in terms of the Solr index."?
I typically heed those warnings, but it's possible that I overlooked it because it wasn't part of the files attached to the release
That makes sense. You're right, in the past we often attached schema.xml to the release. These days we explain how to download it. We made this change to streamline our release process. I hope you don't mind! :sweat_smile:
Of course not! I'll be sure to read the notes more carefully in the future :)
Cool, cool, thanks for understanding. :heart:
Last updated: Jan 09 2026 at 14:18 UTC