Generate indexation ID for solr
See https://gitlab.com/arkindex/requests/-/issues/387
Generating a unique ID per payload would avoid duplicate element.
The ID could be calculated using target (page) ID and its reference (the source of indexation):
- md5(page ID + metadata ID)
- md5(page ID + transcription ID)
- md5(page ID + transcription ID) ...
Edited by Bastien Abadie