@@ -31,11 +31,7 @@ baseSearchParamsWithoutQuery:
31
31
x-categories :
32
32
- Search
33
33
filters :
34
- type : string
35
- description : Filter the query with numeric, facet and/or tag filters.
36
- default : ' '
37
- x-categories :
38
- - Filtering
34
+ $ref : ' #/filters'
39
35
facetFilters :
40
36
$ref : ' #/facetFilters'
41
37
optionalFilters :
@@ -91,17 +87,9 @@ baseSearchParamsWithoutQuery:
91
87
x-categories :
92
88
- Pagination
93
89
aroundLatLng :
94
- type : string
95
- description : Search for entries around a central geolocation, enabling a geo search within a circular area.
96
- default : ' '
97
- x-categories :
98
- - Geo-Search
90
+ $ref : ' #/aroundLatLng'
99
91
aroundLatLngViaIP :
100
- type : boolean
101
- description : Search for entries around a given location automatically computed from the requester's IP address.
102
- default : false
103
- x-categories :
104
- - Geo-Search
92
+ $ref : ' #/aroundLatLngViaIP'
105
93
aroundRadius :
106
94
$ref : ' #/aroundRadius'
107
95
aroundPrecision :
@@ -117,21 +105,9 @@ baseSearchParamsWithoutQuery:
117
105
x-categories :
118
106
- Geo-Search
119
107
insideBoundingBox :
120
- type : array
121
- items :
122
- type : number
123
- format : double
124
- description : Search inside a rectangular area (in geo coordinates).
125
- x-categories :
126
- - Geo-Search
108
+ $ref : ' #/insideBoundingBox'
127
109
insidePolygon :
128
- type : array
129
- items :
130
- type : number
131
- format : double
132
- description : Search inside a polygon (in geo coordinates).
133
- x-categories :
134
- - Geo-Search
110
+ $ref : ' #/insidePolygon'
135
111
naturalLanguages :
136
112
type : array
137
113
items :
@@ -245,6 +221,38 @@ aroundRadiusAll:
245
221
type : string
246
222
enum : [all]
247
223
224
+ aroundLatLng :
225
+ type : string
226
+ description : Search for entries around a central geolocation, enabling a geo search within a circular area.
227
+ default : ' '
228
+ x-categories :
229
+ - Geo-Search
230
+
231
+ aroundLatLngViaIP :
232
+ type : boolean
233
+ description : Search for entries around a given location automatically computed from the requester's IP address.
234
+ default : false
235
+ x-categories :
236
+ - Geo-Search
237
+
238
+ insideBoundingBox :
239
+ type : array
240
+ items :
241
+ type : number
242
+ format : double
243
+ description : Search inside a rectangular area (in geo coordinates).
244
+ x-categories :
245
+ - Geo-Search
246
+
247
+ insidePolygon :
248
+ type : array
249
+ items :
250
+ type : number
251
+ format : double
252
+ description : Search inside a polygon (in geo coordinates).
253
+ x-categories :
254
+ - Geo-Search
255
+
248
256
# There is duplicated logic here because we want to keep a correct description
249
257
# and using `$ref` override everything.
250
258
searchFiltersArrayString :
@@ -262,6 +270,13 @@ listOfSearchFilters:
262
270
items :
263
271
$ref : ' #/mixedSearchFilters'
264
272
273
+ filters :
274
+ type : string
275
+ description : Filter the query with numeric, facet and/or tag filters.
276
+ default : ' '
277
+ x-categories :
278
+ - Filtering
279
+
265
280
facetFilters :
266
281
description : Filter hits by facet value.
267
282
oneOf :
0 commit comments