Monday, February 13, 2017

Reload SOLR Schema and delete records from SOLR core


Reload the SOLR schema without restarting the server

http://<host>:<port>/solr/admin/cores?action=RELOAD&core=<core_name>

Where:

host : SOLR host
port: port number in which service is running
core_name- Name of the core which needs to be reloaded

Delete the entire records from the core.

http://<host>:<port>/solr/<core_name>/update?commit=true&stream.body=<delete><query>*:*</query></delete>

where

host : SOLR host
port: port number in which service is running
core_name- Name of the core from where records need to be cleared.



No comments:

Post a Comment