Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(specs): facet stats properties as double #1694

Merged
merged 2 commits into from
Jul 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/.cache_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.33
0.0.34
12 changes: 8 additions & 4 deletions specs/search/common/schemas/SearchResponse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,20 @@ baseSearchResponse:
title: facetStats
properties:
min:
type: integer
type: number
format: double
description: The minimum value in the result set.
max:
type: integer
type: number
format: double
description: The maximum value in the result set.
avg:
type: integer
type: number
format: double
description: The average facet value in the result set.
sum:
type: integer
type: number
format: double
description: The sum of all values in the result set.
hitsPerPage:
$ref: '../../../common/schemas/IndexSettings.yml#/hitsPerPage'
Expand Down