-
Notifications
You must be signed in to change notification settings - Fork 507
SOLR indexing failed: unknown field 'workflowDocumentation' #9390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey there! The workflow metadata block was added in v5.12, but despite its experimental nature, it was included in Please see step 7 of the upgrade instructions:
Below that the steps necessary are described to re-add the fields. Sorry for the inconvenience! |
@poikilotherm Thanks. And this fix mentioned in the release notes of v5.13 should also work for v5.12.1? |
Yes it should, but in 5.12.1 the schema.xml still had these fields... so should not be necessary? |
Unfortunately, this doesn't fix the problem. The workflowDocumentation field is not affected by this change. Same error message: {"status":"ERROR","message":"Problem indexing datasets/10589: javax.ejb.EJBException: Error from server at http://localhost:8983/solr/collection1: ERROR: [doc=dataset_10589] unknown field 'workflowDocumentation' org.apache.solr.client.solrj.impl.HttpSolrClient.RemoteSolrException Error from server at http://localhost:8983/solr/collection1: ERROR: [doc=dataset_10589] unknown field 'workflowDocumentation' "} |
Can you run the schema script? Retrieve the fields via API and update the schema.xml on your own should fix this for good. (I have no idea why there would be a field missing from the 5.12.1 schema.xml, AFAIK people tested this...) |
@poikilotherm Can you give me a hint where to find this script? https://github.com/IQSS/dataverse/releases/download/v5.13/schema.xml does not contain this field either (because of the roll back you mentioned earlier?). |
Looking at dataverse/conf/solr/8.11.1/schema.xml Line 266 in cf90431
Here's the explanation for updating your index and here's a direct link to the script. Hope this helps! |
Many thanks. I had only looked for a new schema file on the release pages: https://github.com/IQSS/dataverse/releases/tag/v5.12 . I was not aware that I need/can update the Solr schema after importing new metadata blocks. |
We are using Dataverse 5.12.1 with this solr schema.xml (which was the last released schema.xml before 5.13): https://github.com/IQSS/dataverse/releases/download/v5.11/schema.xml
One of our published records is not indexed.
Maybe this is a result of adding the "Computational Workflow Metadata Block"?
This is what I've found in the server.log:
How can we resolve this problem?
Thanks
The text was updated successfully, but these errors were encountered: