Nov 12, 2018

Solr commands - I tried


Start and stop solr
bin/solr start 
bin/solr stop 

Create and delete a core/collection
bin/solr create -c corename 
bin/solr delete -c corename

Index  a big TSV file
solr-7.5.0/bin/post -c gbif -params "separator=%09" -type text/csv ./gbif.tsv

Delete all documents from a core (Only documents) using curl command
curl "http://127.0.0.1:8983/solr/gbif/update?commit=true" -H "Content-Type: text/xml" --data-binary '<delete><query>*:*</query></delete>'


For Web Developer

  open -a "Google Chrome" --args --disable-web-security