Combining documents in two indices correlated by their ID, but the fieldname is different

To use transform to join multiple indices is not straight forward, but these posts will help you to use transform.