-
Notifications
You must be signed in to change notification settings - Fork 488
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
MyData metadata validity facet violates Don't Make Me Think #9836
Comments
@pdurbin, It looks like you are missing the solr field for metadata validity. Updating schema and reindexing should fix it. I hope that the documentation mentions this, at least the release notes should. I have verified this on our pilot, which is on 5.14: |
@pdurbin
This has a small advantage in performance when you are not using that feature. It also makes the schema update and reindexing unnecessary in that case. However, you need to reindex all dataset after enabling the feature. If you disable it, add some dataset, and enable it again, then you also need to reindex the datasets as the newly added datasets do not have the necessary solr field. The field is only added to datasets while the feature is enabled. It might make more sense to remove the check and always add the completeness field to the solr document. This would throw exceptions if your schema is not up-to-date, so you know you need to update the schema (and reindex), and remove the complexity of always reindexing all datasets after enabling this feature. What do you think? I can also simply add this information in the documentation for that feature. |
@pdurbin The PR should have simplified it. Can you check the description of the PR to see if it is clear what it does? |
@ErykKul I just took a quick look at the PR you opened: This helps explain the behavior I was seeing. Thanks! |
I was just playing around with the "Creating datasets with incomplete metadata through API" feature developed in this PR:
I'm on Dataverse 5.14.
It's a cool feature, but I think MyData suffers a bit from it.
Imagine the following scenario:
Below is what might happen.
User clicks MyData
User sees "sorry no, results are found"
Now what? 🤔
Realistically, at this point the user probably contacts support. Where's my data? Help!
A user with time on their hands and a penchant for clicking things might explore further.
What if I uncheck "incomplete metadata"?
Nope, nothing.
What if I uncheck "incomplete metadata" AND "valid"?
Finally, we are getting somewhere! There's my dataset and my collection (dataverse)! But where's my file?
Check files to see files
As usual, files are not selected by default but if you check "files" you can see them. This is out of scope for this issue.
In conclusion
When a user visits MyData they should see their data, not "Sorry, no results were found." They shouldn't have to uncheck boxes to see their data.
The text was updated successfully, but these errors were encountered: