Skip to content

Commit dc0ff04

Browse files
authored
fix(specs): facet stats properties as double (#1694)
BREAKING CHANGE: parameters type change to double
1 parent 529f4c6 commit dc0ff04

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/.cache_version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.33
1+
0.0.34

specs/search/common/schemas/SearchResponse.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,20 @@ baseSearchResponse:
7070
title: facetStats
7171
properties:
7272
min:
73-
type: integer
73+
type: number
74+
format: double
7475
description: The minimum value in the result set.
7576
max:
76-
type: integer
77+
type: number
78+
format: double
7779
description: The maximum value in the result set.
7880
avg:
79-
type: integer
81+
type: number
82+
format: double
8083
description: The average facet value in the result set.
8184
sum:
82-
type: integer
85+
type: number
86+
format: double
8387
description: The sum of all values in the result set.
8488
hitsPerPage:
8589
$ref: '../../../common/schemas/IndexSettings.yml#/hitsPerPage'

0 commit comments

Comments
 (0)