I have an index created say, student_master. I now have a CSV from which I need to map with the ID of the index present and combine them and populate it in a new index. Both have the same ID.
I tried using aggregation but did not work. Can someone please help? Been in on for days.
I have an index, and it has the fields such as ID, Gender, Name etc. Then I have a CSV, which has the field ID and then marks such as Math, Physics, English etc.
I need to like make a join (in SQL terms) and make a final index which has the fields of the index already created and the additional data (Math, Physics, English).
Example, in index: ID, Name, Gender
In CSV, ID, Math, Physics, Chemistry.
Final Output (in a new index): ID, Name, Gender, Math, Physics and Chemistry. Note I can map them using IDs.
How do I do this and what changes do I make to my code? Thank you so much for your help.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.