Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

solr-client: add 'import abort' command (closes #107)

  • Loading branch information...
commit ede9eccb92c4c60e113f43e8dd7d57b9e3bc0e30 1 parent 3eb47cc
@koelnconcert koelnconcert authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 scripts/solr-client
View
6 scripts/solr-client
@@ -17,6 +17,7 @@ function main {
sub=$1;shift
case "$sub" in
"status" ) get "admin/dataimport?$fmt";echo;;
+ "abort" ) get "admin/dataimport?command=abort&$fmt";echo;;
"full" ) get "admin/dataimport?command=full-import&clean=true&commit=true&optimize=false&$fmt";echo;;
"delta" ) get "admin/dataimport?command=full-import&clean=false&commit=true&optimize=false&$fmt";echo;;
* )
@@ -85,8 +86,9 @@ function help {
post <body> or read from stdin if <body> is missing
import status - status of DataImportHandler
- import full - do full backup
- import delta - do delta backup
+ import full - do full import
+ import delta - do delta import
+ import abort - abort data import
environment variables:
Please sign in to comment.
Something went wrong with that request. Please try again.