Skip to content

Commit 7f01282

Browse files
authored
Fix lambda parameter description (#138661)
Lower and higher value descriptions are switched. Also added more user friendly wording.
1 parent 1cc80b2 commit 7f01282

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ The ordering of results returned from the inner retriever is preserved.
5454
`lambda`
5555
: (Required for `mmr`, float)
5656

57-
A value between 0.0 and 1.0 that controls how similarity is calculated during diversification. Higher values weight comparisons between field values more heavily, lower values weight the query vector more heavily.
57+
A value between 0.0 and 1.0 that controls how similarity is calculated during diversification. Higher values weight the similarity to the query_vector more heavily, lower values weight the diversity more heavily.
5858

5959
`size`
6060
: (Optional, only if `mmr` is used, integer)

0 commit comments

Comments
 (0)