Skip to content

Commit f438f9a

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]>
1 parent 023e8a8 commit f438f9a

File tree

8 files changed

+18
-18
lines changed

8 files changed

+18
-18
lines changed

output/openapi/elasticsearch-openapi.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/openapi/elasticsearch-serverless-openapi.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema-serverless.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_global/search/SearchRequest.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ export interface Request extends RequestBase {
448448
rank?: RankContainer
449449
/**
450450
* The minimum `_score` for matching documents.
451-
* Documents with a lower `_score` are not included in the search results.
451+
* Documents with a lower `_score` are not included in search results and results collected by aggregations.
452452
*/
453453
min_score?: double
454454
/**

specification/_global/search/_types/SearchRequestBody.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export class SearchRequestBody {
103103
rank?: RankContainer
104104
/**
105105
* The minimum `_score` for matching documents.
106-
* Documents with a lower `_score` are not included in the search results.
106+
* Documents with a lower `_score` are not included in search results or results collected by aggregations.
107107
*/
108108
min_score?: double
109109
/**

specification/async_search/submit/AsyncSearchSubmitRequest.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ export interface Request extends RequestBase {
203203
knn?: KnnSearch | KnnSearch[]
204204
/**
205205
* Minimum _score for matching documents. Documents with a lower _score are
206-
* not included in the search results.
206+
* not included in search results and results collected by aggregations.
207207
*/
208208
min_score?: double
209209
post_filter?: QueryContainer

specification/fleet/search/SearchRequest.ts

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

0 commit comments

Comments
 (0)