...
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" |
Creating a Shard in the Admin Console
While this is probably not necessary, it is possible to create an empty shard in the Solr Admin console.
Note that existing shards use the statistics directory as an "instance" directory.
Manually create a new shard
The new shard can be queried like the other ones