Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,20 @@ script will refuse to run otherwise and tells you what to do.
scripts/bench_search.py --url http://127.0.0.1:9200 \
--index wiki --duration 60 --concurrency 32
```

- `compare_es.py` / `demo_compare_es.sh` — side-by-side comparison of
SearchPlusPlus and ElasticSearch on the same corpus + judgments. Reports
search quality (NDCG@10, P@5, MRR) and throughput (req/min, latency
percentiles). Requires a Docker daemon for the demo wrapper; the script
itself talks to any running ES instance.

```bash
# Smoke test (starts an ES container, runs spp_serve, prints the table)
./scripts/demo_compare_es.sh

# Against engines you already run
scripts/compare_es.py \
--spp-url http://127.0.0.1:9211 --es-url http://127.0.0.1:9200 \
--corpus my_corpus.jsonl --judgments my_judgments.jsonl \
--duration 30 --concurrency 16
```
Loading
Loading