Read csv in your app, create a Solr doc from each line and ingest to Solr in 
fitting batches. You can use a csv library or just parse each line yourself if 
the format is fixed.

If you need to post csv directly to Solr you’d use a plain http post with 
content-type csv, but in most cases your app would do that.

Jan Høydahl

> 29. jan. 2023 kl. 20:21 skrev marc nicole <mk1853...@gmail.com>:
> 
> Hi guys,
> 
> I can't find a reference on how to index a dataset.csv file into Solr using
> SolrJ.
> https://solr.apache.org/guide/6_6/using-solrj.html
> 
> Thanks.

Reply via email to