valkyrie icon indicating copy to clipboard operation
valkyrie copied to clipboard

Optimize Model filtering in Solr find_references queries

Open escowles opened this issue 5 years ago • 0 comments

Valkyrie::Persistence::Solr::QueryService has two methods that do a query and then filters by model:

  • find_references_by
  • find_inverse_references_by

These should be optimized by passing the model to the query and letting Solr do the filtering, like we do in find_all_of_model

Related to https://github.com/samvera/valkyrie/pull/790

escowles avatar Nov 06 '19 13:11 escowles