It is assumed that Solr is installed in your local machine and at port 8080. If different, change the URL and port accordingly.
SOLR Core Status
If you want to know the status of multiple cores or status of the instance if no cores, by visiting the below URL from your browser.
If you want to know the status of any single core in particular, say core1, visit
Reload SOLR Core
If you want the configuration changes you have done in schema.xml or solrconfig.xml to take effect without restart of whole instance, you can just reload the specific core you want to reload. By reloading the specific core, your downtime is virtually zero. Use the following URL to load new configuration without restarting.
Deleting SOLR core in Runtime
In rare case, where you want to delete or unload the SOLR core, You can do so by visiting,
If you wish to delete the index on unload, you can pass deleteindex as an optional parameter to the URL above with value true.
Refresh SOLR Index
If you want to refresh the index documents in SOLR after deleting the solr index and remove all the documents currently indexed in SOLR, you can use the following URL to perform the SOLR index flush. This URL clears the current SOLR index and does a fresh import from the data source. In case you do not have multiple cores, just remove the core name (core1) from the URL below.
By default, the existing index is cleaned up before indexing starts and the new data is committed after the indexing operation. You can override the behaivour by sending extra parameters,
If the commit is set to false, the indexed data is not commited. If clean is set to false, the old index is not cleared and stale data will be served.
In case, you want to perfrom a delta import into SOLR, You can do so using the URL below,
The status of the data import can be monitored at
Reloading Configuration of DataImportHandler
On configuration changes, you can reload the configuration changes from the file without restarting the SOLR instance by the URL below.
In case you want to stop the data import operation in SOLR,
In case of single core instance, remove the core name (core1) from above URLs and it should work fine..