Measure search quality
evaluate_rankingMeasure search ranking quality by running queries with known relevant URLs, reporting precision@k, recall@k, R-precision and rank positions to compare settings.
Instructions
Run queries whose relevant result URLs you know and report precision@k, recall@k and R-precision per query and on average, plus where each relevant URL ranked. Use it to compare settings: evaluate, change a setting, evaluate again. Queries run one after another and the call ends within about 50 seconds: queries that do not fit are reported in 'skipped', so split long lists into several calls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | cut-off for precision@k and recall@k | |
| cases | Yes | queries with their known relevant URLs (1-30) | |
| waitMs | No | how long to let other peers answer per query (global only) | |
| resource | No | 'global': ask the other peers too; 'local': only this peer's index | global |