Last change
on this file since 31300 was 31103, checked in by davidb, 7 years ago |
Changes made after testing with 20 solr nodes
|
-
Property svn:executable
set to
*
|
File size:
286 bytes
|
Line | |
---|
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 | ssh $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.