Update Solr indexation to use worker runs
https://redmine.teklia.com/issues/7063
Since we are about to remove the worker_version_id
attribute from elements, we need to update the Solr indexer in arkindex.documents.indexer
.
The current worker version facet filter remains in place, but the two SQL queries that the indexer uses to find those worker versions must change. Instead of returning documents_element.worker_version_id
, they must join on worker runs to return the worker version from there.