This clip demonstrates how to upload data from CSV files, into your opensolr index, in just a few easy steps.
Notes:
If your csv file doesn't have a unique ID field, you have to add this updateRequestProcessorChain inside your solrconfig.xml file, in order to auto-populate your solr unique ID field, with a unique random value:
<updateRequestProcessorChain> <processor class="solr.UUIDUpdateProcessorFactory"> <str name="fieldName">id</str> </processor> <processor class="solr.LogUpdateProcessorFactory" /> <processor class="solr.RunUpdateProcessorFactory" /> </updateRequestProcessorChain>
You will have to add the snippet above, right below one of the </searchComponent> tags in your solrconfig.xml file