Skip to content

Commit f15e3ab

Browse files
Update queries.md and querying.md
1 parent 4d9a276 commit f15e3ab

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

docs/src/cli/queries.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88

99
## Description
1010

11-
Runs query benchmarks.
11+
Runs query benchmarks focused on performance measurement, executing each query
12+
on the given index multiple times. Then, it aggregates statistics across all
13+
queries.
1214

13-
Executes each query on the given index multiple times, and takes the
14-
minimum of those as the final value. Then, it aggregates statistics
15-
across all queries.
15+
Note: for retrieval results use `evaluate_queries`.
1616

1717
## Input
1818

docs/src/guide/querying.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,12 @@ For example:
2222
-q ../test/test_data/queries # query input file
2323

2424
This performs conjunctive queries (`and`). In place of `and` other operators can
25-
be used (see [Query algorithms](#query-algorithms)), and also multiple operators
26-
separated by colon (`and:or:wand`), which will run multiple passes, one per
27-
algorithm.
25+
be used (see [Query algorithms](#query-algorithms)). To run multiple algorithms,
26+
provide `-a` multiple times (for example, `-a and -a or -a wand`).
2827

2928
The tool outputs a JSON with query execution statistics including mean, median
30-
(`q50`), and percentiles (`q90`, `q95`, `q99`) for different aggregation types
31-
(`none`, `min`, `mean`, `median`, `max`).
29+
(`q50`), and percentiles (`q90`, `q95`, `q99`) for different _per-query_
30+
aggregation (`none`, `min`, `mean`, `median`, `max`).
3231

3332
If the WAND file is compressed, append `--compressed-wand` flag.
3433

0 commit comments

Comments
 (0)