source:
other-projects/hathitrust/wcsa/extracted-features-solr/trunk/gslis-cluster/SCRIPTS/remote-solr-delete-collection.sh@
31466
Last change on this file since 31466 was 31466, checked in by , 7 years ago | |
---|---|
|
|
File size: 228 bytes |
Line | |
---|---|
1 | #!/bin/bash |
2 | |
3 | solr_num_shards=`echo $SOLR_NODES | wc -w` |
4 | solr_node_head=`echo $SOLR_NODES | tr ' ' '\n' | head -n 1` |
5 | solr_host=${solr_node_head%:*} |
6 | |
7 | solr_col=${1:-htrc-full-ef} |
8 | |
9 | ssh $solr_host \ |
10 | solr delete \ |
11 | -c $solr_col |
Note:
See TracBrowser
for help on using the repository browser.