The bin/post script is deprecated in favour of the bin/solr post command. Please update your scripts. Usage: post -c [OPTIONS] or post --help collection name defaults to DEFAULT_SOLR_COLLECTION if not specified OPTIONS ======= Solr options: -url (overrides collection, host, and port) -host (default: localhost) -p or --port (default: 8983) -commit yes|no (default: yes) -u or -user (sets BasicAuth credentials) Web crawl options: -recursive (default: 1) -delay (default: 10) Directory crawl options: -delay (default: 0) stdin/args options: -type (default: application/xml) Other options: -filetypes [,,...] (default: xml,json,jsonl,csv,pdf,doc,docx,ppt,pptx,xls,xlsx,odt,odp,ods,ott,otp,ots,rtf,htm,html,txt,log) -params "=[&=...]" (values must be URL-encoded; these pass through to Solr update request) --out yes|no (default: no; yes outputs Solr response to console) -format solr (sends application/json content as Solr commands to /update instead of /update/json/docs) Examples: * JSON file: /opt/iamguarded/solr/bin/post -c wizbang events.json * XML files: /opt/iamguarded/solr/bin/post -c records article*.xml * CSV file: /opt/iamguarded/solr/bin/post -c signals LATEST-signals.csv * Directory of files: /opt/iamguarded/solr/bin/post -c myfiles ~/Documents * Web crawl: /opt/iamguarded/solr/bin/post -c gettingstarted https://solr.apache.org/ -recursive 1 -delay 1 * Standard input (stdin): echo '{commit: {}}' | /opt/iamguarded/solr/bin/post -c my_collection -type application/json --out yes -d * Data as string: /opt/iamguarded/solr/bin/post -c signals -type text/csv -out yes -d $'id,value\n1,0.47'