-
Notifications
You must be signed in to change notification settings - Fork 476
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
Metadata Customization : add a note about setup #5205
Comments
@rmo-cdsp thanks for opening this issue! As we discussed at http://irclog.iq.harvard.edu/dataverse/2018-10-17 this information is not currently in http://guides.dataverse.org/en/4.9.4/admin/metadatacustomization.html The file to edit is https://github.com/IQSS/dataverse/blob/develop/doc/sphinx-guides/source/admin/metadatacustomization.rst |
For anyone picking this up, please see #5164 for examples of the struggles people have when trying to make even simple changes to the tsv files. We might want to include a troubleshooting section. |
Also fix "catch all" field to be "_text_" and spacing of output. Cross reference some code and docs.
I mentioned at https://groups.google.com/d/msg/dataverse-community/9TNH41iGgG8/SZZaPbdvCwAJ that I was working on this issue and just created pull request #5251 and moved this to code review. Feedback is welcome! @matthew-a-dunlap and I discussed how rather than documenting a fix we need for http://localhost:8080/api/admin/index/solr/schema to produce the right output (" |
Looks good in general. Discussed some of the quirks with @pdurbin. |
My to do list (will edit this comment for clarity in a bit):
|
Ok, as of d33b2aa I'm done hacking on this branch. I'm ready for more code review. |
It would be easy to roll a fix for #3976 into the pull request if there's interest. |
I addressed code review feedback in 2f5a1d6. |
I'd like to explain the two code changes in the pull request. First, in d9adf2b I documented an API for learning more about metadata fields which has existed since 4.0 (undocumented) and adjusted the API to provide information about controlled vocabulary values. The second change is basically a bug fix. In the "Updating the Solr Schema" section of the main doc in the pull request I explain the curl command for getting Solr fields out of Dataverse to put into schema.xml. For Solr 4 the "catchall" field was |
add setup instructions for metadata blocks #5205
Add a note in the Metadata Customization part in the guide about the way the dataset fields are setup in the app. Thanks to @pdurbin , I now know that the script https://github.com/IQSS/dataverse/blob/v4.9.4/scripts/api/setup-datasetfields.sh , used by the installer script, define this. This information may be useful in the guide to understand this.
The text was updated successfully, but these errors were encountered: