Skip to content

Refactor shared property

Marcel Konrad requested to merge refactor-count-for into master

This MR refactors the calculation of the shared property of resources.

  • The neo4j repository is no longer queried when the provided set of ids is empty.
  • The naming of involved methods has been updated to better communicate their intent.
  • The neo4j query has been updated for better performance. Instead of over 400k (yes, with a k) db hits, it now only takes about 127 for a random set of 25 ids. The query now also works for other Thing nodes, not just for resources.
Edited by Marcel Konrad

Merge request reports