We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When writing to Valkyrie's solr is enabled, FileSets are written to ActiveFedora managed solr core but not to the Valkyrie solr core.
FileSets are a core model type and should be saved in the Valkyrie solr core.
When config.query_index_from_valkyrie = true in config/initializers/hyrax.rb and a File is added to a work...
config.query_index_from_valkyrie = true
config/initializers/hyrax.rb
Edit .internal_test_app/config/initializers/hyrax.rb and set config
.internal_test_app/config/initializers/hyrax.rb
Get counts through Solr UI for ActiveFedora Solr core:
facet.field=has_model_ssim
Get model type counts in Solr UI for Valkyrie Solr core:
BEFORE get counts of FileSets for both ActiveFedora Solr core and Valkyrie Solr core.
AFTER get counts of FileSets for both ActiveFedora Solr core and Valkyrie Solr core.
Verify that the counts for FileSets increased by one in both Solr cores.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Descriptive summary
When writing to Valkyrie's solr is enabled, FileSets are written to ActiveFedora managed solr core but not to the Valkyrie solr core.
Rationale
FileSets are a core model type and should be saved in the Valkyrie solr core.
Expected behavior
When
config.query_index_from_valkyrie = true
inconfig/initializers/hyrax.rb
and a File is added to a work...Actual behavior
When
config.query_index_from_valkyrie = true
inconfig/initializers/hyrax.rb
and a File is added to a work...Steps to reproduce the behavior
Prerequisites
Edit
.internal_test_app/config/initializers/hyrax.rb
and set configGet count of FileSets solr docs
Get counts through Solr UI for ActiveFedora Solr core:
facet.field=has_model_ssim
Get model type counts in Solr UI for Valkyrie Solr core:
facet.field=has_model_ssim
Check for count changes when adding a file to a work
BEFORE get counts of FileSets for both ActiveFedora Solr core and Valkyrie Solr core.
AFTER get counts of FileSets for both ActiveFedora Solr core and Valkyrie Solr core.
Verify that the counts for FileSets increased by one in both Solr cores.
Related work
The text was updated successfully, but these errors were encountered: