added shard IDs to created shard

This commit is contained in:
2022-06-03 13:17:34 -04:00
parent 3d9589b968
commit df77e5def6

View File

@@ -23,7 +23,7 @@ if [[ ! -z "$ARG_SOLR_SHARD_IDS" ]]; then
fi fi
if [[ ! -z "$ARG_SOLR_SHARD_RANGE" ]]; then if [[ ! -z "$ARG_SOLR_SHARD_RANGE" ]]; then
SOLR_EXTRA="&property.shard.range=$ARG_SOLR_SHARD_RANGE" SOLR_EXTRA="&property.shard.range=$ARG_SOLR_SHARD_RANGE&property.shard.instance=$ARG_SOLR_SHARD_IDS"
fi fi
echo "Creating a shard core in the Solr instance ..." echo "Creating a shard core in the Solr instance ..."