You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: specs/common/schemas/SearchResponse.yml
+17-6Lines changed: 17 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,21 @@
1
1
baseSearchResponse:
2
+
additionalProperties: true
3
+
allOf:
4
+
- $ref: '#/rootSearchResponse'
5
+
- $ref: '#/appliedRulesResponse'
6
+
7
+
appliedRulesResponse:
8
+
type: object
9
+
additionalProperties: true
10
+
properties:
11
+
appliedRules:
12
+
description: Rules applied to the query.
13
+
title: appliedRules
14
+
type: array
15
+
items:
16
+
type: object
17
+
18
+
rootSearchResponse:
2
19
type: object
3
20
additionalProperties: true
4
21
required:
@@ -44,12 +61,6 @@ baseSearchResponse:
44
61
type: boolean
45
62
title: typo
46
63
description: Whether the typo search was exhaustive (`true`) or approximate (`false`). An approximation is done when the typo search query part takes more than 10% of the query budget (ie. 5ms by default) to be processed (this can happen when a lot of typo alternatives exist for the query). This field will not be included when typo-tolerance is entirely disabled.
47
-
appliedRules:
48
-
description: Rules applied to the query.
49
-
title: appliedRules
50
-
type: array
51
-
items:
52
-
type: object
53
64
exhaustiveFacetsCount:
54
65
type: boolean
55
66
description: See the `facetsCount` field of the `exhaustive` object in the response.
0 commit comments