I have two indices " index01 " and " index02 " with the following feilds
index01
- department
- name
- salary
index02
- course_name
- course_id
I have to make a single query to fetch the documents from index01 where the department matches with the course_name. can someone please help?