Get started with Solr
NOTE: Replace the CORE-NAME and PORT-NUMBER placeholders in the commands below with actual values.
To create a core, use these commands:
$ cd /opt/bitnami/solr
$ sudo ./bin/solr create -c CORE-NAME -p PORT-NUMBER
To add documents, use these commands:
$ cd /opt/bitnami/solr
$ sudo ./bin/post -c CORE-NAME FILES