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 davidb, 7 years ago

Deprecated

  • Property svn:executable set to *
File size: 286 bytes
Line 
1#!/bin/bash
2
3solr_num_shards=`echo $SOLR_NODES | wc -w`
4solr_node_head=`echo $SOLR_NODES | tr ' ' '\n' | head -n 1`
5solr_host=${solr_node_head%:*}
6
7
8ssh $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.