Skip to content

Commit 70f31c6

Browse files
Revert "Allow single function in FunctionScoreQuery.functions (#5576)" (#5589) (#5592)
This reverts commit 9bd939c. (cherry picked from commit ea95e94) Co-authored-by: Quentin Pradet <quentin.pradet@elastic.co>
1 parent e2d26ce commit 70f31c6

File tree

5 files changed

+18
-44
lines changed

5 files changed

+18
-44
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 4 additions & 11 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: 4 additions & 11 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 & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

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

specification/_types/query_dsl/compound.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export class FunctionScoreQuery extends QueryBase {
115115
/**
116116
* One or more functions that compute a new score for each document returned by the query.
117117
*/
118-
functions?: FunctionScoreContainer | FunctionScoreContainer[]
118+
functions?: FunctionScoreContainer[]
119119
/**
120120
* Restricts the new score to not exceed the provided limit.
121121
*/

0 commit comments

Comments
 (0)