On‐the‐Job Search in a Matching Model with Heterogeneous Jobs and Workers