...
The SOLR Admin Console provides a mechanism to test the CSV Export Process and Parameters
Testing CSV Import
The SOLR Admin Console provides a mechanism to access the CSV Upload process. Unfortunately, it does not all parameters to be provided.
Note that the multi-value field is corrupted if you import by this manner.
It is possible to test the upload process csv import parameters using curl.
Code Block | ||||
---|---|---|---|---|
| ||||
curl -F "data=@statistics-2006_export_2007-04.csv" "http://localhost/solr/statistics-2006/update/csv?skip=_version_&csv.mv.escape=%5C&f.owningColl.split=true&f.owningColl.separator=%7C&f.owningComm.split=true&f.owningComm.separator=,&f.owningItem.split=true&f.owningItem.separator=%7C&f.bundleName.split=true&f.bundleName.separator=%7C&stream.contentType=text%2Fcsv%3Bcharset%3Dutf-8&commit=true&softCommit=false&waitSearcher=true&wt=javabin&version=2" |
...