diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 1532e943fc..4d5db37b2c 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -50863,7 +50863,7 @@ "$ref": "#/components/schemas/_types:RankContainer" }, "min_score": { - "description": "The minimum `_score` for matching documents.\nDocuments with a lower `_score` are not included in the search results.", + "description": "The minimum `_score` for matching documents.\nDocuments with a lower `_score` are not included in search results or results collected by aggregations.", "type": "number" }, "post_filter": { @@ -114625,7 +114625,7 @@ ] }, "min_score": { - "description": "Minimum _score for matching documents. Documents with a lower _score are\nnot included in the search results.", + "description": "Minimum _score for matching documents. Documents with a lower _score are\nnot included in search results and results collected by aggregations.", "type": "number" }, "post_filter": { @@ -115158,7 +115158,7 @@ } }, "min_score": { - "description": "Minimum _score for matching documents. Documents with a lower _score are\nnot included in the search results.", + "description": "Minimum _score for matching documents. Documents with a lower _score are\nnot included in search results and results collected by aggregations.", "type": "number" }, "post_filter": { @@ -116701,7 +116701,7 @@ "$ref": "#/components/schemas/_types:RankContainer" }, "min_score": { - "description": "The minimum `_score` for matching documents.\nDocuments with a lower `_score` are not included in the search results.", + "description": "The minimum `_score` for matching documents.\nDocuments with a lower `_score` are not included in search results and results collected by aggregations.", "type": "number" }, "post_filter": { diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 0f4d424290..897afc68c5 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -30003,7 +30003,7 @@ ] }, "min_score": { - "description": "The minimum `_score` for matching documents.\nDocuments with a lower `_score` are not included in the search results.", + "description": "The minimum `_score` for matching documents.\nDocuments with a lower `_score` are not included in search results or results collected by aggregations.", "type": "number" }, "post_filter": { @@ -68039,7 +68039,7 @@ ] }, "min_score": { - "description": "Minimum _score for matching documents. Documents with a lower _score are\nnot included in the search results.", + "description": "Minimum _score for matching documents. Documents with a lower _score are\nnot included in search results and results collected by aggregations.", "type": "number" }, "post_filter": { @@ -69397,7 +69397,7 @@ ] }, "min_score": { - "description": "The minimum `_score` for matching documents.\nDocuments with a lower `_score` are not included in the search results.", + "description": "The minimum `_score` for matching documents.\nDocuments with a lower `_score` are not included in search results and results collected by aggregations.", "type": "number" }, "post_filter": { diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index 6fa021181f..d7469d2191 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -11928,7 +11928,7 @@ } }, { - "description": "Minimum _score for matching documents. Documents with a lower _score are\nnot included in the search results.", + "description": "Minimum _score for matching documents. Documents with a lower _score are\nnot included in search results and results collected by aggregations.", "name": "min_score", "required": false, "type": { @@ -42246,7 +42246,7 @@ } }, { - "description": "The minimum `_score` for matching documents.\nDocuments with a lower `_score` are not included in the search results.", + "description": "The minimum `_score` for matching documents.\nDocuments with a lower `_score` are not included in search results and results collected by aggregations.", "name": "min_score", "required": false, "type": { @@ -52857,7 +52857,7 @@ } }, { - "description": "The minimum `_score` for matching documents.\nDocuments with a lower `_score` are not included in the search results.", + "description": "The minimum `_score` for matching documents.\nDocuments with a lower `_score` are not included in search results or results collected by aggregations.", "name": "min_score", "required": false, "type": { diff --git a/output/schema/schema.json b/output/schema/schema.json index 6713783661..2592498325 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -35551,7 +35551,7 @@ } }, { - "description": "The minimum `_score` for matching documents.\nDocuments with a lower `_score` are not included in the search results.", + "description": "The minimum `_score` for matching documents.\nDocuments with a lower `_score` are not included in search results and results collected by aggregations.", "name": "min_score", "required": false, "type": { @@ -41645,7 +41645,7 @@ } }, { - "description": "The minimum `_score` for matching documents.\nDocuments with a lower `_score` are not included in the search results.", + "description": "The minimum `_score` for matching documents.\nDocuments with a lower `_score` are not included in search results or results collected by aggregations.", "name": "min_score", "required": false, "type": { @@ -92521,7 +92521,7 @@ } }, { - "description": "Minimum _score for matching documents. Documents with a lower _score are\nnot included in the search results.", + "description": "Minimum _score for matching documents. Documents with a lower _score are\nnot included in search results and results collected by aggregations.", "name": "min_score", "required": false, "type": { @@ -126809,7 +126809,7 @@ } }, { - "description": "Minimum _score for matching documents. Documents with a lower _score are\nnot included in the search results.", + "description": "Minimum _score for matching documents. Documents with a lower _score are\nnot included in search results and results collected by aggregations.", "name": "min_score", "required": false, "type": { diff --git a/specification/_global/search/SearchRequest.ts b/specification/_global/search/SearchRequest.ts index 49f77ea08d..cee2a0b5cc 100644 --- a/specification/_global/search/SearchRequest.ts +++ b/specification/_global/search/SearchRequest.ts @@ -448,7 +448,7 @@ export interface Request extends RequestBase { rank?: RankContainer /** * The minimum `_score` for matching documents. - * Documents with a lower `_score` are not included in the search results. + * Documents with a lower `_score` are not included in search results and results collected by aggregations. */ min_score?: double /** diff --git a/specification/_global/search/_types/SearchRequestBody.ts b/specification/_global/search/_types/SearchRequestBody.ts index f242db8bd7..373c1cc1b0 100644 --- a/specification/_global/search/_types/SearchRequestBody.ts +++ b/specification/_global/search/_types/SearchRequestBody.ts @@ -103,7 +103,7 @@ export class SearchRequestBody { rank?: RankContainer /** * The minimum `_score` for matching documents. - * Documents with a lower `_score` are not included in the search results. + * Documents with a lower `_score` are not included in search results or results collected by aggregations. */ min_score?: double /** diff --git a/specification/async_search/submit/AsyncSearchSubmitRequest.ts b/specification/async_search/submit/AsyncSearchSubmitRequest.ts index e57602debc..3e38180111 100644 --- a/specification/async_search/submit/AsyncSearchSubmitRequest.ts +++ b/specification/async_search/submit/AsyncSearchSubmitRequest.ts @@ -203,7 +203,7 @@ export interface Request extends RequestBase { knn?: KnnSearch | KnnSearch[] /** * Minimum _score for matching documents. Documents with a lower _score are - * not included in the search results. + * not included in search results and results collected by aggregations. */ min_score?: double post_filter?: QueryContainer diff --git a/specification/fleet/search/SearchRequest.ts b/specification/fleet/search/SearchRequest.ts index 63a4a73c73..40b57cf64c 100644 --- a/specification/fleet/search/SearchRequest.ts +++ b/specification/fleet/search/SearchRequest.ts @@ -175,7 +175,7 @@ export interface Request extends RequestBase { docvalue_fields?: FieldAndFormat[] /** * Minimum _score for matching documents. Documents with a lower _score are - * not included in the search results. + * not included in search results and results collected by aggregations. */ min_score?: double post_filter?: QueryContainer