source:
other-projects/hathitrust/wcsa/extracted-features-solr/trunk/gslis-cluster/SCRIPTS/_remote-solr-init-full-ef-collection.sh
Last change on this file was 31454, checked in by , 7 years ago | |
---|---|
|
|
File size: 286 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 | |
8 | ssh $solr_host \ |
9 | solr create \ |
10 | -c htrc-full-ef \ |
11 | -d htrc_configs \ |
12 | -shards $solr_num_shards \ |
13 | -replicationFactor 1 |
Note:
See TracBrowser
for help on using the repository browser.