get correct field first, then use it for looking up related
further refactoring of index mappings