Skip to content

Commit e27e8c8

Browse files
adding _rank to hit, fix property name (#2721) (#2722)
(cherry picked from commit 177dfd3) Co-authored-by: Laura Trotta <[email protected]>
1 parent f3f3547 commit e27e8c8

File tree

7 files changed

+52
-22
lines changed

7 files changed

+52
-22
lines changed

output/openapi/elasticsearch-openapi.json

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

specification/_global/search/_types/hits.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ export class Hit<TDocument> {
5757
_node?: string
5858
_routing?: string
5959
_source?: TDocument
60+
_rank?: integer
6061
_seq_no?: SequenceNumber
6162
_primary_term?: long
6263
_version?: VersionNumber

specification/_types/Rank.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ export class RrfRank extends RankBase {
3333
/** How much influence documents in individual result sets per query have over the final ranked result set */
3434
rank_constant?: long
3535
/** Size of the individual result sets per query */
36-
window_size?: long
36+
rank_window_size?: long
3737
}

0 commit comments

Comments
 (0)