Obtaining the Source Code
- Download the ANN-Benchmarks source package.
Method 1: Use the wget command to download the package.
Go to a custom directory (the data directory is used as an example) and run wget to download the ANN-Benchmarks source package to the custom directory.
1 2
cd /data wget https://github.com/erikbern/ann-benchmarks/archive/refs/heads/main.zip --no-check-certificate
Method 2: Download the ANN-Benchmarks source package and upload it to the /data directory on the server.
On the ANN-Benchmarks source package download page, click Code and then Download ZIP.

- Decompress the ANN-Benchmarks source package.
1unzip ann-benchmarks-main.zip - Modify the file access permission (the milvus user is used as an example.).
1chown -R milvus:milvus /data/ann-benchmarks-main
Parent topic: Milvus Database ANN-Benchmarks Test Guide