Skip to content

Commit f30102d

Browse files
Clarify that min_score applies to aggs (#4180)
* Clarify that min_score applies to aggs Relates to elastic/elasticsearch#125882 * Run make contrib --------- Co-authored-by: Quentin Pradet <[email protected]> (cherry picked from commit f438f9a)
1 parent 27cd254 commit f30102d

File tree

8 files changed

+23
-23
lines changed

8 files changed

+23
-23
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema-serverless.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_global/msearch/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ export class MultisearchBody {
118118
*/
119119
indices_boost?: Array<SingleKeyDictionary<IndexName, double>>
120120
/**
121-
* Minimum _score for matching documents. Documents with a lower _score are
122-
* not included in the search results.
121+
* The minimum `_score` for matching documents.
122+
* Documents with a lower `_score` are not included in search results and results collected by aggregations.
123123
*/
124124
min_score?: double
125125
post_filter?: QueryContainer

specification/_global/search/SearchRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ export interface Request extends RequestBase {
454454
rank?: RankContainer
455455
/**
456456
* The minimum `_score` for matching documents.
457-
* Documents with a lower `_score` are not included in the search results.
457+
* Documents with a lower `_score` are not included in search results and results collected by aggregations.
458458
*/
459459
min_score?: double
460460
/**

specification/async_search/submit/AsyncSearchSubmitRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ export interface Request extends RequestBase {
205205
knn?: KnnSearch | KnnSearch[]
206206
/**
207207
* Minimum _score for matching documents. Documents with a lower _score are
208-
* not included in the search results.
208+
* not included in search results and results collected by aggregations.
209209
*/
210210
min_score?: double
211211
post_filter?: QueryContainer

specification/fleet/search/SearchRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export interface Request extends RequestBase {
176176
docvalue_fields?: FieldAndFormat[]
177177
/**
178178
* Minimum _score for matching documents. Documents with a lower _score are
179-
* not included in the search results.
179+
* not included in search results and results collected by aggregations.
180180
*/
181181
min_score?: double
182182
post_filter?: QueryContainer

0 commit comments

Comments
 (0)