download
Downloads a Solr distribution to the local machine without running a benchmark. Use this to pre-fetch a distribution before running a from-distribution or docker pipeline benchmark.
Syntax
solr-benchmark download --distribution-version VERSION [OPTIONS]
Because Solr is pure Java, the distribution tarball is the same on every operating system and CPU architecture. There are no OS- or architecture-specific variants to select.
Options
| Option | Description |
|---|---|
--distribution-version | Solr version to download (e.g., 9.10.1, 10.0.0) |
--distribution-repository | Source repository (default: release) |
--cluster-config-instance | Cluster configuration instance to apply |
--cluster-config-instance-params | Comma-separated key:value variable overrides for the cluster configuration |
Output
On success, the command prints a JSON object with the path to the downloaded artifact:
{
"solr": "/Users/yourname/.solr-benchmark/distributions/solr-9.10.1.tgz"
}
Examples
# Download Solr 9.10.1
solr-benchmark download --distribution-version 9.10.1