Skip to main content

SOLR4 how to abort running dataimport command

First you can get current dataimport status with the following url in a multicore environment:
http://<solr4_server_ip>:<port_number>/solr/<core_name>/dataimport?command=status

Probably you may have seen the following result:
<str name="importResponse">A command is still running...</str>

Then this command can be aborted with the following url:
http://<solr4_server_ip>:<port_number>/solr/<core_name>/dataimport?command=abort

Comments

Popular posts from this blog

Find and replace with sed command in Linux

Find and replace feature is always handy. It can turn into a torture when it comes to change or delete a simple constant string in a text file. There is a handy tool in linux for doing these kind of tihngs. Actually sed is not a text editor but it is used outside of the text file to make changes.