Refactor enrich_solr_records to use Hash lookups.