Sherry,
I think these errors are related to the changes in the types of those fields in solr – many were changed to dates from strings.
I think if you followed the upgrade order – installing a new solr 9.8.0, with the new schema.xml for v6.6 ( using the update_fields.sh script if needed), and then indexing for the first time in that solr, you shouldn’t be seeing these.
If you still have the old solr, or old schema.xml, or ran the new solr with the old Dataverse, etc. you could have existing indexed data that is inconsistent with the new definitions for those fields.
In any case, I think if you call /api/admin/index/clear before indexing, to remove all the existing solr data, these should go away.
-- Jim
--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
dataverse-commu...@googlegroups.com.
To view this discussion visit
https://groups.google.com/d/msgid/dataverse-community/dc62d12d-7607-4ab8-9946-8ccc3a8724ffn%40googlegroups.com.
After upgrading to V6.6, we were getting errors in our server.log. Before I reindexed "all" (clear index), I created a new dataset. It didn't show up in the listing. The direct URLs work, shows draft record and one published, but nothing in the collection list.
So I ran api/admin/index/clear - and then reindex. And still getting the errors reported in google.
BUT now nothing shows in any collection.....
Help! Luckily this is my test server.
I can only guess at this point – it seems that solr still has the old definitions somewhere.
To view this discussion visit https://groups.google.com/d/msgid/dataverse-community/a0691ba7-53d2-4b75-8506-3a0e4317caafn%40googlegroups.com.
Not sure I’m following exactly, but - one thing to note: I think that using an ‘old’ local schema.xml, even running update-fields, won’t work. Some of the fields whose type has changed aren’t in a metadata block and therefore aren’t updated by update-fields. I think it is this section where you need to make sure you have the latest: https://github.com/IQSS/dataverse/blob/b881147df59e8999bcab845dec3d43f28db66b35/conf/solr/schema.xml#L123-L243.
You should be able to take the 6.6 schema and run update-fields.sh on that.
Ok, datasets now showing. Not sure what the problem was, but Tim (my sysadmin, not my cat... who is also called "Tim")
"reloaded the core" (not sure what that is)
and reindexed.
I am seeing existing datasets and new ones.