File tree Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,12 @@ recommendHits:
11
11
type : array
12
12
items :
13
13
$ref : ' #/recommendHit'
14
+ query :
15
+ $ref : ' ../../../common/schemas/SearchParams.yml#/query'
16
+ params :
17
+ type : string
18
+ description : URL-encoded string of all search parameters.
19
+ example : query=a&hitsPerPage=20
14
20
required :
15
21
- hits
16
22
Original file line number Diff line number Diff line change @@ -11,8 +11,16 @@ searchHits:
11
11
type : array
12
12
items :
13
13
$ref : ' Hit.yml#/hit'
14
+ query :
15
+ $ref : ' ../../../common/schemas/SearchParams.yml#/query'
16
+ params :
17
+ type : string
18
+ description : URL-encoded string of all search parameters.
19
+ example : query=a&hitsPerPage=20
14
20
required :
15
21
- hits
22
+ - query
23
+ - params
16
24
17
25
baseSearchResponse :
18
26
type : object
@@ -24,8 +32,6 @@ baseSearchResponse:
24
32
- hitsPerPage
25
33
- processingTimeMS
26
34
- exhaustiveNbHits
27
- - query
28
- - params
29
35
properties :
30
36
abTestID :
31
37
type : integer
@@ -110,10 +116,6 @@ baseSearchResponse:
110
116
example : 20
111
117
page :
112
118
$ref : ' ../../../common/schemas/SearchParams.yml#/page'
113
- params :
114
- type : string
115
- description : URL-encoded string of all search parameters.
116
- example : query=a&hitsPerPage=20
117
119
redirect :
118
120
type : object
119
121
description : >
@@ -131,8 +133,6 @@ baseSearchResponse:
131
133
type : integer
132
134
description : Time the server took to process the request, in milliseconds.
133
135
example : 20
134
- query :
135
- $ref : ' ../../../common/schemas/SearchParams.yml#/query'
136
136
queryAfterRemoval :
137
137
type : string
138
138
description : Markup text indicating which parts of the original query have been removed to retrieve a non-empty result set.
You can’t perform that action at this time.
0 commit comments