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

Last change on this file since 31161 was 31106, checked in by davidb, 7 years ago

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

  • Property svn:executable set to *
File size: 267 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
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 repository browser.