Files
spring-ai/hybrid-search/scripts/run-all.sh
T

11 lines
495 B
Bash
Executable File

#!/usr/bin/env bash
# Regenerates every file in output/ by running the test suite.
# Needs: JDK 25, Maven, internet for the first run (about 90 MB for the MiniLM model, cached in ~/.cache/minilm),
# and a PostgreSQL 16 with pgvector 0.8 on localhost:5432 (database ragdemo, user demo / demo).
# Set HYBRID_DB_URL to point somewhere else. ScaleTest inserts 50,000 rows and builds an HNSW index (about two minutes).
set -euo pipefail
cd "$(dirname "$0")/.."
rm -rf output
mvn -B -q test
ls output