Refactor configuration for ContentMetadataIndexer
Reviewers: ardumont
Differential Revision: https://forge.softwareheritage.org/D236