Browse Source

Espera até servidor Solr estar pronto

pull/2439/head
Edward 6 years ago
committed by GitHub
parent
commit
2f23f2c848
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      start.sh

2
start.sh

@ -69,6 +69,8 @@ if [ "${USE_SOLR-False}" == "True" ]; then
echo "REPLICATION FACTOR: $RF"
echo "MAX SHARDS PER NODE: $MAX_SHARDS_PER_NODE"
echo "========================================="
/bin/bash check_solr.sh
python3 solr_api.py -u $SOLR_URL -c $SOLR_COLLECTION -s $NUM_SHARDS -rf $RF -ms $MAX_SHARDS_PER_NODE &
# python3 manage.py rebuild_index --noinput &

Loading…
Cancel
Save