Skip to content

Commit 0f34218

Browse files
authored
docs: update rrf and linear retriever default rank_window_size (#130929)
1 parent 7cca217 commit 0f34218

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

docs/reference/elasticsearch/rest-apis/retrievers.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,10 @@ See also [this hybrid search example](docs-content://solutions/search/retrievers
291291
`rank_window_size`
292292
: (Optional, integer)
293293

294-
This value determines the size of the individual result sets per query. A higher value will improve result relevance at the cost of performance. The final ranked result set is pruned down to the search request’s [size](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search#search-size-param). `rank_window_size` must be greater than or equal to `size` and greater than or equal to `1`. Defaults to the `size` parameter.
294+
This value determines the size of the individual result sets per query.
295+
A higher value will improve result relevance at the cost of performance.
296+
The final ranked result set is pruned down to the search request’s [size](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search#search-size-param). `rank_window_size` must be greater than or equal to `size` and greater than or equal to `1`.
297+
Defaults to 10.
295298

296299

297300
`filter`
@@ -323,7 +326,10 @@ An [RRF](/reference/elasticsearch/rest-apis/reciprocal-rank-fusion.md) retriever
323326
`rank_window_size`
324327
: (Optional, integer)
325328

326-
This value determines the size of the individual result sets per query. A higher value will improve result relevance at the cost of performance. The final ranked result set is pruned down to the search request’s [size](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search#search-size-param). `rank_window_size` must be greater than or equal to `size` and greater than or equal to `1`. Defaults to the `size` parameter.
329+
This value determines the size of the individual result sets per query.
330+
A higher value will improve result relevance at the cost of performance.
331+
The final ranked result set is pruned down to the search request’s [size](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search#search-size-param). `rank_window_size` must be greater than or equal to `size` and greater than or equal to `1`.
332+
Defaults to 10.
327333

328334

329335
`filter`

0 commit comments

Comments
 (0)