Skip to content

Index updates

David Chandek-Stark requested to merge index-updates into main

This merge incorporates a lot of changes. Further work is needed, but I don't want to add more to this branch.

The major changes:

  • Moves Ddr::Index from lib/ to app/models/ - I'm not sure that's the right place, but lib/ was annoying and hopefully the whole thing will be removed in DDr 3.0.
  • Ddr::Index::Fields constant values have been replaced with string literals for the Solr field names.
  • Ddr::Index::Query is deprecated! I initially did some refactoring to "fix" it (meaning simply and remove dependencies), then decided the better option was just to deprecate and eventually remove it. Going forward we should use Blacklight's methods, or Ddr::API::IndexRepository and related classes -- or RSolr directly, I suppose.
  • Added the Collection technical metadata report to the API and remove it from the UI.
  • A bunch of mostly minor changes to the API code.
  • Removed unused code related to locking/unlocking resources that was only used for Fedora 3->Valkyrie migration.

Merge request reports

Loading