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 |
Rev | Line | |
---|---|---|
[31099] | 1 | #!/bin/bash |
2 | ||
[31103] | 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 \ | |
[31099] | 9 | solr create \ |
[31101] | 10 | -c htrc-full-ef \ |
[31099] | 11 | -d htrc_configs \ |
[31103] | 12 | -shards $solr_num_shards \ |
13 | -replicationFactor 1 |
Note:
See TracBrowser
for help on using the repository browser.