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/IndexSettings.yml
+57-3Lines changed: 57 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -268,9 +268,7 @@ indexSettingsAsSearchParams:
268
268
description: When attribute is ranked above proximity in your ranking formula, proximity is used to select which searchable attribute is matched in the attribute ranking stage.
269
269
default: false
270
270
renderingContent:
271
-
type: object
272
-
description: Content defining how the search interface should be rendered. Can be set via the settings for a default value and can be overridden via rules.
273
-
default: {}
271
+
$ref: '#/renderingContent'
274
272
275
273
maxFacetHits:
276
274
type: integer
@@ -356,3 +354,59 @@ removeStopWords:
356
354
type: string
357
355
- type: boolean
358
356
default: false
357
+
358
+
renderingContent:
359
+
description: Content defining how the search interface should be rendered. Can be set via the settings for a default value and can be overridden via rules.
360
+
type: object
361
+
additionalProperties: false
362
+
properties:
363
+
facetOrdering:
364
+
$ref: '#/facetOrdering'
365
+
366
+
facetOrdering:
367
+
description: Defining how facets should be ordered.
368
+
type: object
369
+
additionalProperties: false
370
+
properties:
371
+
facets:
372
+
$ref: '#/facets'
373
+
values:
374
+
$ref: '#/values'
375
+
376
+
facets:
377
+
description: The ordering of facets (widgets).
378
+
type: object
379
+
additionalProperties: false
380
+
properties:
381
+
order:
382
+
$ref: '#/order'
383
+
384
+
values:
385
+
description: The ordering of facet values, within an individual list.
description: When providing a string, it replaces the entire query string. When providing an object, it describes incremental edits to be made to the query string (but you can't do both).
127
+
oneOf:
128
+
- $ref: '#/consequenceQuery'
129
+
- type: string
130
+
131
+
consequenceQuery:
132
+
type: object
133
+
additionalProperties: false
134
+
properties:
135
+
remove:
136
+
description: Words to remove.
120
137
type: array
121
-
description: Names of facets to which automatic filtering must be applied; they must match the facet name of a facet value placeholder in the query pattern.
122
138
items:
123
-
$ref: '#/automaticFacetFilter'
124
-
automaticOptionalFacetFilters:
125
-
type: object
126
-
description: Same syntax as automaticFacetFilters, but the engine treats the filters as optional.
139
+
type: string
140
+
edits:
141
+
description: Edits to apply.
142
+
type: array
143
+
items:
144
+
$ref: '#/edit'
145
+
146
+
edit:
147
+
type: object
148
+
additionalProperties: false
149
+
properties:
150
+
type:
151
+
$ref: '#/editType'
152
+
delete:
153
+
description: Text or patterns to remove from the query string.
154
+
type: string
155
+
insert:
156
+
description: Text that should be inserted in place of the removed text inside the query string.
157
+
type: string
158
+
159
+
editType:
160
+
description: Type of edit.
161
+
type: string
162
+
enum: [remove, replace]
163
+
164
+
automaticFacetFilters:
165
+
description: Names of facets to which automatic filtering must be applied; they must match the facet name of a facet value placeholder in the query pattern.
166
+
oneOf:
167
+
- type: array
127
168
items:
128
169
$ref: '#/automaticFacetFilter'
170
+
- type: array
171
+
items:
172
+
type: string
173
+
174
+
automaticOptionalFacetFilters:
175
+
description: Same syntax as automaticFacetFilters, but the engine treats the filters as optional.
0 commit comments