root/other-projects/hathitrust/wcsa/extracted-features-solr/trunk/gslis-cluster/SCRIPTS/nema-solr-init-full-ef-collection.sh @ 31307

Revision 31106, 267 bytes (checked in by davidb, 3 years ago)

Scripts to help run an rsync'd copy of gslistcluster1 /tmp/gcX-solr-shard files

  • Property svn:executable set to *
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
8solr create \
9     -c htrc-full-ef \
10     -d htrc_configs \
11     -shards $solr_num_shards \
12     -replicationFactor 1
Note: See TracBrowser for help on using the browser.