Last change
on this file since 31106 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
|
Rev | Line | |
---|
[31106] | 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 | solr 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.