I get a feed file data in below format separated by custom delimiters
employee_id||034100151730105|L|
employee_cd||03410015|L|
dept_id||1730105|L|
dept_name||abc|L|
employee_firstname||pqr|L|
employee_lastname||ppp|L|
|R||L|
employee_id||034100151730108|L|
employee_cd||03410032|L|
dept_id||4230105|L|
dept_name||fdfd|L|
employee_firstname||sasas|L|
employee_lastname||dfdf|L|
|R||L|
.....
So my row delimiter is |R||L| each record delimiter is |L| and record name (employee_id) and record value (034100151730105) is separated by ||
I need to load and index this data to SOLR using /update in below way
employee_id: 034100151730105
employee_cd: 03410015
...
Can someone please help me, how can I parse and load this feed to SOLR?