@graphcommerce/algolia-products 10.0.0-canary.66 → 10.0.0-canary.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/algolia-spec.yaml +194 -0
- package/package.json +9 -9
package/algolia-spec.yaml
CHANGED
|
@@ -115,6 +115,7 @@ info:
|
|
|
115
115
|
|
|
116
116
|
The current version of the Search API is version 1, as indicated by the `/1/` in each endpoint's URL.
|
|
117
117
|
|
|
118
|
+
|
|
118
119
|
version: 1.0.0
|
|
119
120
|
servers:
|
|
120
121
|
- url: https://{appId}.algolia.net
|
|
@@ -153,6 +154,7 @@ tags:
|
|
|
153
154
|
|
|
154
155
|
API keys can have permissions (access control lists, ACL) and restrictions.
|
|
155
156
|
|
|
157
|
+
|
|
156
158
|
externalDocs:
|
|
157
159
|
url: https://www.algolia.com/doc/guides/security/api-keys/
|
|
158
160
|
description: |
|
|
@@ -174,10 +176,12 @@ tags:
|
|
|
174
176
|
|
|
175
177
|
Dictionaries are application-wide.
|
|
176
178
|
|
|
179
|
+
|
|
177
180
|
externalDocs:
|
|
178
181
|
url: >-
|
|
179
182
|
https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/
|
|
180
183
|
|
|
184
|
+
|
|
181
185
|
description: |
|
|
182
186
|
Related guide: Natural languages.
|
|
183
187
|
- name: Indices
|
|
@@ -189,10 +193,12 @@ tags:
|
|
|
189
193
|
|
|
190
194
|
They're optimal data structures for fast search and are made up of records and settings.
|
|
191
195
|
|
|
196
|
+
|
|
192
197
|
externalDocs:
|
|
193
198
|
url: >-
|
|
194
199
|
https://www.algolia.com/doc/guides/sending-and-managing-data/manage-indices-and-apps/manage-indices/
|
|
195
200
|
|
|
201
|
+
|
|
196
202
|
description: |
|
|
197
203
|
Related guide: Manage your indices.
|
|
198
204
|
- name: Records
|
|
@@ -208,10 +214,12 @@ tags:
|
|
|
208
214
|
|
|
209
215
|
When adding or updating many records, check the [indexing rate limits](https://support.algolia.com/hc/en-us/articles/4406975251089-Is-there-a-rate-limit-for-indexing-on-Algolia).
|
|
210
216
|
|
|
217
|
+
|
|
211
218
|
externalDocs:
|
|
212
219
|
url: >-
|
|
213
220
|
https://www.algolia.com/doc/guides/sending-and-managing-data/prepare-your-data/
|
|
214
221
|
|
|
222
|
+
|
|
215
223
|
description: |
|
|
216
224
|
Related guide: Prepare your records.
|
|
217
225
|
- name: Rules
|
|
@@ -227,10 +235,12 @@ tags:
|
|
|
227
235
|
|
|
228
236
|
This can be useful for tuning specific queries or for merchandising.
|
|
229
237
|
|
|
238
|
+
|
|
230
239
|
externalDocs:
|
|
231
240
|
url: >-
|
|
232
241
|
https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/
|
|
233
242
|
|
|
243
|
+
|
|
234
244
|
description: |
|
|
235
245
|
Related guide: Rules.
|
|
236
246
|
- name: Search
|
|
@@ -244,12 +254,14 @@ tags:
|
|
|
244
254
|
url: >-
|
|
245
255
|
https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/
|
|
246
256
|
|
|
257
|
+
|
|
247
258
|
description: |
|
|
248
259
|
Related guide: Synonyms.
|
|
249
260
|
- name: Vaults
|
|
250
261
|
description: >-
|
|
251
262
|
Algolia Vault lets you restrict access to your clusters to specific IP addresses and provides disk-level encryption at rest.
|
|
252
263
|
|
|
264
|
+
|
|
253
265
|
externalDocs:
|
|
254
266
|
url: https://www.algolia.com/doc/guides/security/algolia-vault/
|
|
255
267
|
description: |
|
|
@@ -278,6 +290,7 @@ paths:
|
|
|
278
290
|
|
|
279
291
|
If you need more, use the [`browse` operation](#tag/Search/operation/browse) or increase the `paginatedLimitedTo` index setting.
|
|
280
292
|
|
|
293
|
+
|
|
281
294
|
parameters:
|
|
282
295
|
- $ref: '#/components/parameters/IndexName'
|
|
283
296
|
requestBody:
|
|
@@ -325,11 +338,13 @@ paths:
|
|
|
325
338
|
|
|
326
339
|
Use the helper `searchForHits` or `searchForFacets` to get the results in a more convenient format, if you already know the return type you want.
|
|
327
340
|
|
|
341
|
+
|
|
328
342
|
requestBody:
|
|
329
343
|
required: true
|
|
330
344
|
description: >-
|
|
331
345
|
Muli-search request body. Results are returned in the same order as the requests.
|
|
332
346
|
|
|
347
|
+
|
|
333
348
|
content:
|
|
334
349
|
application/json:
|
|
335
350
|
schema:
|
|
@@ -387,6 +402,7 @@ paths:
|
|
|
387
402
|
You can adjust this with the `sortFacetValueBy` parameter.
|
|
388
403
|
- Searching for facet values doesn't work if you have **more than 65 searchable facets and searchable attributes combined**.
|
|
389
404
|
|
|
405
|
+
|
|
390
406
|
parameters:
|
|
391
407
|
- $ref: '#/components/parameters/IndexName'
|
|
392
408
|
- name: facetName
|
|
@@ -396,6 +412,7 @@ paths:
|
|
|
396
412
|
|
|
397
413
|
This attribute must be included in the `attributesForFaceting` index setting with the `searchable()` modifier.
|
|
398
414
|
|
|
415
|
+
|
|
399
416
|
in: path
|
|
400
417
|
required: true
|
|
401
418
|
schema:
|
|
@@ -545,6 +562,7 @@ paths:
|
|
|
545
562
|
|
|
546
563
|
To find the object ID of rules, use the [`search` operation](#tag/Rules/operation/searchRules).
|
|
547
564
|
|
|
565
|
+
|
|
548
566
|
parameters:
|
|
549
567
|
- $ref: '#/components/parameters/IndexName'
|
|
550
568
|
- $ref: '#/components/parameters/ObjectIDRule'
|
|
@@ -703,6 +721,7 @@ paths:
|
|
|
703
721
|
description: >-
|
|
704
722
|
Retrieves the languages for which standard dictionary entries are turned off.
|
|
705
723
|
|
|
724
|
+
|
|
706
725
|
responses:
|
|
707
726
|
'200':
|
|
708
727
|
description: OK
|
|
@@ -735,11 +754,13 @@ paths:
|
|
|
735
754
|
description: >
|
|
736
755
|
Lists supported languages with their supported dictionary types and number of custom entries.
|
|
737
756
|
|
|
757
|
+
|
|
738
758
|
summary: List available languages
|
|
739
759
|
externalDocs:
|
|
740
760
|
url: >-
|
|
741
761
|
https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages/
|
|
742
762
|
|
|
763
|
+
|
|
743
764
|
description: Supported languages.
|
|
744
765
|
responses:
|
|
745
766
|
'200':
|
|
@@ -778,6 +799,7 @@ components:
|
|
|
778
799
|
|
|
779
800
|
The required ACL to make a request is listed in each endpoint's reference.
|
|
780
801
|
|
|
802
|
+
|
|
781
803
|
schemas:
|
|
782
804
|
attributeToUpdate:
|
|
783
805
|
x-keep-model: true
|
|
@@ -856,6 +878,7 @@ components:
|
|
|
856
878
|
|
|
857
879
|
For more information, see [Filters](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/).
|
|
858
880
|
|
|
881
|
+
|
|
859
882
|
example: (category:Book OR category:Ebook) AND _tags:published
|
|
860
883
|
x-categories:
|
|
861
884
|
- Filtering
|
|
@@ -878,6 +901,7 @@ components:
|
|
|
878
901
|
|
|
879
902
|
`facet:\-value`.
|
|
880
903
|
|
|
904
|
+
|
|
881
905
|
x-categories:
|
|
882
906
|
- Filtering
|
|
883
907
|
type: object
|
|
@@ -901,6 +925,7 @@ components:
|
|
|
901
925
|
|
|
902
926
|
- Optional filters don't work with numeric attributes.
|
|
903
927
|
|
|
928
|
+
|
|
904
929
|
example:
|
|
905
930
|
- category:Book
|
|
906
931
|
- author:John Doe
|
|
@@ -927,6 +952,7 @@ components:
|
|
|
927
952
|
|
|
928
953
|
The same combination rules apply as for `facetFilters`.
|
|
929
954
|
|
|
955
|
+
|
|
930
956
|
example:
|
|
931
957
|
- - inStock = 1
|
|
932
958
|
- deliveryDate < 1441755506
|
|
@@ -952,6 +978,7 @@ components:
|
|
|
952
978
|
|
|
953
979
|
The same combination and escaping rules apply as for `facetFilters`.
|
|
954
980
|
|
|
981
|
+
|
|
955
982
|
example:
|
|
956
983
|
- - Book
|
|
957
984
|
- Movie
|
|
@@ -981,6 +1008,7 @@ components:
|
|
|
981
1008
|
|
|
982
1009
|
This parameter is ignored if you also specify `insidePolygon` or `insideBoundingBox`.
|
|
983
1010
|
|
|
1011
|
+
|
|
984
1012
|
example: 40.71,-74.01
|
|
985
1013
|
x-categories:
|
|
986
1014
|
- Geo-Search
|
|
@@ -995,6 +1023,7 @@ components:
|
|
|
995
1023
|
description: >-
|
|
996
1024
|
Return all records with a valid `_geoloc` attribute. Don't filter by distance.
|
|
997
1025
|
|
|
1026
|
+
|
|
998
1027
|
enum:
|
|
999
1028
|
- all
|
|
1000
1029
|
aroundRadius:
|
|
@@ -1008,6 +1037,7 @@ components:
|
|
|
1008
1037
|
|
|
1009
1038
|
The search radius is small if there are many hits close to the central coordinates.
|
|
1010
1039
|
|
|
1040
|
+
|
|
1011
1041
|
oneOf:
|
|
1012
1042
|
- type: integer
|
|
1013
1043
|
minimum: 1
|
|
@@ -1024,18 +1054,21 @@ components:
|
|
|
1024
1054
|
description: >-
|
|
1025
1055
|
Range object with lower and upper values in meters to define custom ranges.
|
|
1026
1056
|
|
|
1057
|
+
|
|
1027
1058
|
properties:
|
|
1028
1059
|
from:
|
|
1029
1060
|
type: integer
|
|
1030
1061
|
description: >-
|
|
1031
1062
|
Lower boundary of a range in meters. The Geo ranking criterion considers all records within the range to be equal.
|
|
1032
1063
|
|
|
1064
|
+
|
|
1033
1065
|
example: 20
|
|
1034
1066
|
value:
|
|
1035
1067
|
type: integer
|
|
1036
1068
|
description: >-
|
|
1037
1069
|
Upper boundary of a range in meters. The Geo ranking criterion considers all records within the range to be equal.
|
|
1038
1070
|
|
|
1071
|
+
|
|
1039
1072
|
aroundPrecision:
|
|
1040
1073
|
description: >
|
|
1041
1074
|
Precision of a coordinate-based search in meters to group results with similar distances.
|
|
@@ -1043,6 +1076,7 @@ components:
|
|
|
1043
1076
|
|
|
1044
1077
|
The Geo ranking criterion considers all matches within the same range of distances to be equal.
|
|
1045
1078
|
|
|
1079
|
+
|
|
1046
1080
|
oneOf:
|
|
1047
1081
|
- type: integer
|
|
1048
1082
|
default: 10
|
|
@@ -1054,6 +1088,7 @@ components:
|
|
|
1054
1088
|
|
|
1055
1089
|
as are records between 100 and 199 meters.
|
|
1056
1090
|
|
|
1091
|
+
|
|
1057
1092
|
- $ref: '#/components/schemas/aroundPrecisionFromValue'
|
|
1058
1093
|
x-categories:
|
|
1059
1094
|
- Geo-Search
|
|
@@ -1078,6 +1113,7 @@ components:
|
|
|
1078
1113
|
|
|
1079
1114
|
For more information, see [rectangular area](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filtering-inside-rectangular-or-polygonal-areas).
|
|
1080
1115
|
|
|
1116
|
+
|
|
1081
1117
|
example:
|
|
1082
1118
|
- - 47.3165
|
|
1083
1119
|
- 4.9665
|
|
@@ -1115,6 +1151,7 @@ components:
|
|
|
1115
1151
|
|
|
1116
1152
|
This parameter is ignored if you also specify `insideBoundingBox`.
|
|
1117
1153
|
|
|
1154
|
+
|
|
1118
1155
|
example:
|
|
1119
1156
|
- - 47.3165
|
|
1120
1157
|
- 4.9665
|
|
@@ -1212,6 +1249,7 @@ components:
|
|
|
1212
1249
|
|
|
1213
1250
|
For more information, see [user token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/).
|
|
1214
1251
|
|
|
1252
|
+
|
|
1215
1253
|
example: test-user-123
|
|
1216
1254
|
x-categories:
|
|
1217
1255
|
- Personalization
|
|
@@ -1241,6 +1279,7 @@ components:
|
|
|
1241
1279
|
|
|
1242
1280
|
Combine it with `filters` to narrow down the list of results.
|
|
1243
1281
|
|
|
1282
|
+
|
|
1244
1283
|
example: comedy drama crime Macy Buscemi
|
|
1245
1284
|
x-categories:
|
|
1246
1285
|
- Search
|
|
@@ -1266,6 +1305,7 @@ components:
|
|
|
1266
1305
|
|
|
1267
1306
|
For more information, see [filter scores](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/in-depth/filter-scoring/#accumulating-scores-with-sumorfiltersscores).
|
|
1268
1307
|
|
|
1308
|
+
|
|
1269
1309
|
x-categories:
|
|
1270
1310
|
- Filtering
|
|
1271
1311
|
restrictSearchableAttributes:
|
|
@@ -1292,6 +1332,7 @@ components:
|
|
|
1292
1332
|
|
|
1293
1333
|
For more information, see [facets](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#contextual-facet-values-and-counts).
|
|
1294
1334
|
|
|
1335
|
+
|
|
1295
1336
|
default: []
|
|
1296
1337
|
x-categories:
|
|
1297
1338
|
- Faceting
|
|
@@ -1307,6 +1348,7 @@ components:
|
|
|
1307
1348
|
|
|
1308
1349
|
as `facetingAfterDistinct` only computes correct facet counts if all records have the same facet values for the `attributeForDistinct`.
|
|
1309
1350
|
|
|
1351
|
+
|
|
1310
1352
|
x-categories:
|
|
1311
1353
|
- Faceting
|
|
1312
1354
|
page:
|
|
@@ -1336,6 +1378,7 @@ components:
|
|
|
1336
1378
|
description: >-
|
|
1337
1379
|
Minimum radius (in meters) for a search around a location when `aroundRadius` isn't set.
|
|
1338
1380
|
|
|
1381
|
+
|
|
1339
1382
|
minimum: 1
|
|
1340
1383
|
x-categories:
|
|
1341
1384
|
- Geo-Search
|
|
@@ -1357,6 +1400,7 @@ components:
|
|
|
1357
1400
|
|
|
1358
1401
|
- Adds a `natural_language` attribute to `ruleContexts` and `analyticsTags`.
|
|
1359
1402
|
|
|
1403
|
+
|
|
1360
1404
|
x-categories:
|
|
1361
1405
|
- Languages
|
|
1362
1406
|
ruleContexts:
|
|
@@ -1369,6 +1413,7 @@ components:
|
|
|
1369
1413
|
|
|
1370
1414
|
[Rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#whats-a-context) are strings that you can use to trigger matching rules.
|
|
1371
1415
|
|
|
1416
|
+
|
|
1372
1417
|
example:
|
|
1373
1418
|
- mobile
|
|
1374
1419
|
x-categories:
|
|
@@ -1383,6 +1428,7 @@ components:
|
|
|
1383
1428
|
|
|
1384
1429
|
For more information, see [Understanding Personalization impact](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).
|
|
1385
1430
|
|
|
1431
|
+
|
|
1386
1432
|
minimum: 0
|
|
1387
1433
|
maximum: 100
|
|
1388
1434
|
x-categories:
|
|
@@ -1394,6 +1440,7 @@ components:
|
|
|
1394
1440
|
description: >-
|
|
1395
1441
|
Whether the search response should include detailed ranking information.
|
|
1396
1442
|
|
|
1443
|
+
|
|
1397
1444
|
x-categories:
|
|
1398
1445
|
- Advanced
|
|
1399
1446
|
synonyms:
|
|
@@ -1409,6 +1456,7 @@ components:
|
|
|
1409
1456
|
|
|
1410
1457
|
The query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/guides/sending-events/getting-started/).
|
|
1411
1458
|
|
|
1459
|
+
|
|
1412
1460
|
x-categories:
|
|
1413
1461
|
- Analytics
|
|
1414
1462
|
analytics:
|
|
@@ -1423,6 +1471,7 @@ components:
|
|
|
1423
1471
|
description: >-
|
|
1424
1472
|
Tags to apply to the query for [segmenting analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).
|
|
1425
1473
|
|
|
1474
|
+
|
|
1426
1475
|
x-categories:
|
|
1427
1476
|
- Analytics
|
|
1428
1477
|
percentileComputation:
|
|
@@ -1430,6 +1479,7 @@ components:
|
|
|
1430
1479
|
description: >-
|
|
1431
1480
|
Whether to include this search when calculating processing-time percentiles.
|
|
1432
1481
|
|
|
1482
|
+
|
|
1433
1483
|
x-categories:
|
|
1434
1484
|
- Advanced
|
|
1435
1485
|
enableABTest:
|
|
@@ -1469,12 +1519,14 @@ components:
|
|
|
1469
1519
|
|
|
1470
1520
|
If typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation/) are also active.
|
|
1471
1521
|
|
|
1522
|
+
|
|
1472
1523
|
oneOf:
|
|
1473
1524
|
- type: boolean
|
|
1474
1525
|
default: true
|
|
1475
1526
|
description: >-
|
|
1476
1527
|
Whether typo tolerance is active. If true, matches with typos are included in the search results and rank after exact matches.
|
|
1477
1528
|
|
|
1529
|
+
|
|
1478
1530
|
- $ref: '#/components/schemas/typoToleranceEnum'
|
|
1479
1531
|
x-categories:
|
|
1480
1532
|
- Typos
|
|
@@ -1504,6 +1556,7 @@ components:
|
|
|
1504
1556
|
|
|
1505
1557
|
If false, singulars, plurals, and other declensions won't be considered equivalent.
|
|
1506
1558
|
|
|
1559
|
+
|
|
1507
1560
|
default: false
|
|
1508
1561
|
x-categories:
|
|
1509
1562
|
- Languages
|
|
@@ -1519,6 +1572,7 @@ components:
|
|
|
1519
1572
|
|
|
1520
1573
|
You should only use this feature for the languages used in your index.
|
|
1521
1574
|
|
|
1575
|
+
|
|
1522
1576
|
example:
|
|
1523
1577
|
- ca
|
|
1524
1578
|
- es
|
|
@@ -1527,6 +1581,7 @@ components:
|
|
|
1527
1581
|
description: >-
|
|
1528
1582
|
ISO code for languages for which stop words should be removed. This overrides languages you set in `queryLanguges`.
|
|
1529
1583
|
|
|
1584
|
+
|
|
1530
1585
|
items:
|
|
1531
1586
|
$ref: '#/components/schemas/supportedLanguage'
|
|
1532
1587
|
- type: boolean
|
|
@@ -1536,6 +1591,7 @@ components:
|
|
|
1536
1591
|
|
|
1537
1592
|
If false, stop words are not removed.
|
|
1538
1593
|
|
|
1594
|
+
|
|
1539
1595
|
x-categories:
|
|
1540
1596
|
- Languages
|
|
1541
1597
|
queryType:
|
|
@@ -1559,6 +1615,7 @@ components:
|
|
|
1559
1615
|
|
|
1560
1616
|
For more information, see [Prefix searching](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/prefix-searching/).
|
|
1561
1617
|
|
|
1618
|
+
|
|
1562
1619
|
x-categories:
|
|
1563
1620
|
- Query strategy
|
|
1564
1621
|
removeWordsIfNoResults:
|
|
@@ -1591,6 +1648,7 @@ components:
|
|
|
1591
1648
|
|
|
1592
1649
|
For more information, see [Remove words to improve results](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/in-depth/why-use-remove-words-if-no-results/).
|
|
1593
1650
|
|
|
1651
|
+
|
|
1594
1652
|
x-categories:
|
|
1595
1653
|
- Query strategy
|
|
1596
1654
|
mode:
|
|
@@ -1604,6 +1662,7 @@ components:
|
|
|
1604
1662
|
|
|
1605
1663
|
This setting only applies to indices, for which Algolia enabled NeuralSearch for you.
|
|
1606
1664
|
|
|
1665
|
+
|
|
1607
1666
|
x-categories:
|
|
1608
1667
|
- Query strategy
|
|
1609
1668
|
semanticSearch:
|
|
@@ -1632,6 +1691,7 @@ components:
|
|
|
1632
1691
|
description: >-
|
|
1633
1692
|
List of [optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#creating-a-list-of-optional-words).
|
|
1634
1693
|
|
|
1694
|
+
|
|
1635
1695
|
x-categories:
|
|
1636
1696
|
- Query strategy
|
|
1637
1697
|
optionalWords:
|
|
@@ -1662,6 +1722,7 @@ components:
|
|
|
1662
1722
|
|
|
1663
1723
|
For more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#creating-a-list-of-optional-words).
|
|
1664
1724
|
|
|
1725
|
+
|
|
1665
1726
|
oneOf:
|
|
1666
1727
|
- type: string
|
|
1667
1728
|
- type: 'null'
|
|
@@ -1689,6 +1750,7 @@ components:
|
|
|
1689
1750
|
Only exact matches will be highlighted,
|
|
1690
1751
|
partial and prefix matches won't.
|
|
1691
1752
|
|
|
1753
|
+
|
|
1692
1754
|
x-categories:
|
|
1693
1755
|
- Query strategy
|
|
1694
1756
|
alternativesAsExact:
|
|
@@ -1721,12 +1783,14 @@ components:
|
|
|
1721
1783
|
|
|
1722
1784
|
The `distinct` setting is ignored if `attributeForDistinct` is not set.
|
|
1723
1785
|
|
|
1786
|
+
|
|
1724
1787
|
example: 1
|
|
1725
1788
|
oneOf:
|
|
1726
1789
|
- type: boolean
|
|
1727
1790
|
description: >-
|
|
1728
1791
|
Whether deduplication is turned on. If true, only one member of a group is shown in the search results.
|
|
1729
1792
|
|
|
1793
|
+
|
|
1730
1794
|
- type: integer
|
|
1731
1795
|
description: >
|
|
1732
1796
|
Number of members of a group of records to include in the search results.
|
|
@@ -1738,6 +1802,7 @@ components:
|
|
|
1738
1802
|
For example, with `hitsPerPage: 10` and `distinct: 2`, up to 20 records are returned.
|
|
1739
1803
|
Likewise, the `nbHits` response attribute contains the number of returned groups.
|
|
1740
1804
|
|
|
1805
|
+
|
|
1741
1806
|
minimum: 0
|
|
1742
1807
|
maximum: 4
|
|
1743
1808
|
default: 0
|
|
@@ -1750,6 +1815,7 @@ components:
|
|
|
1750
1815
|
|
|
1751
1816
|
This setting lets you always show specific facets or facet values at the top of the list.
|
|
1752
1817
|
|
|
1818
|
+
|
|
1753
1819
|
type: array
|
|
1754
1820
|
items:
|
|
1755
1821
|
type: string
|
|
@@ -1775,6 +1841,7 @@ components:
|
|
|
1775
1841
|
- `hidden`.
|
|
1776
1842
|
Don't show facet values that aren't explicitly positioned.
|
|
1777
1843
|
|
|
1844
|
+
|
|
1778
1845
|
type: string
|
|
1779
1846
|
enum:
|
|
1780
1847
|
- count
|
|
@@ -1872,6 +1939,7 @@ components:
|
|
|
1872
1939
|
|
|
1873
1940
|
without changing your frontend code.
|
|
1874
1941
|
|
|
1942
|
+
|
|
1875
1943
|
type: object
|
|
1876
1944
|
additionalProperties: false
|
|
1877
1945
|
properties:
|
|
@@ -1887,6 +1955,7 @@ components:
|
|
|
1887
1955
|
description: >
|
|
1888
1956
|
Restrict [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/) to records that match these filters.
|
|
1889
1957
|
|
|
1958
|
+
|
|
1890
1959
|
oneOf:
|
|
1891
1960
|
- type: array
|
|
1892
1961
|
items:
|
|
@@ -1921,6 +1990,7 @@ components:
|
|
|
1921
1990
|
|
|
1922
1991
|
- The `objectID` attribute is always included.
|
|
1923
1992
|
|
|
1993
|
+
|
|
1924
1994
|
x-categories:
|
|
1925
1995
|
- Attributes
|
|
1926
1996
|
ranking:
|
|
@@ -1954,6 +2024,7 @@ components:
|
|
|
1954
2024
|
|
|
1955
2025
|
and by [A/B testing](https://www.algolia.com/doc/guides/ab-testing/what-is-ab-testing/).
|
|
1956
2026
|
|
|
2027
|
+
|
|
1957
2028
|
x-categories:
|
|
1958
2029
|
- Ranking
|
|
1959
2030
|
relevancyStrictness:
|
|
@@ -1967,6 +2038,7 @@ components:
|
|
|
1967
2038
|
|
|
1968
2039
|
Use this setting to strike a balance between the relevance and number of returned results.
|
|
1969
2040
|
|
|
2041
|
+
|
|
1970
2042
|
x-categories:
|
|
1971
2043
|
- Ranking
|
|
1972
2044
|
attributesToHighlight:
|
|
@@ -1996,6 +2068,7 @@ components:
|
|
|
1996
2068
|
|
|
1997
2069
|
For more information, see [Highlighting and snippeting](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/highlighting-snippeting/js/).
|
|
1998
2070
|
|
|
2071
|
+
|
|
1999
2072
|
x-categories:
|
|
2000
2073
|
- Highlighting and Snippeting
|
|
2001
2074
|
attributesToSnippet:
|
|
@@ -2021,6 +2094,7 @@ components:
|
|
|
2021
2094
|
|
|
2022
2095
|
where `NUMBER` is the number of words to be extracted.
|
|
2023
2096
|
|
|
2097
|
+
|
|
2024
2098
|
x-categories:
|
|
2025
2099
|
- Highlighting and Snippeting
|
|
2026
2100
|
highlightPreTag:
|
|
@@ -2028,6 +2102,7 @@ components:
|
|
|
2028
2102
|
description: >-
|
|
2029
2103
|
HTML tag to insert before the highlighted parts in all highlighted results and snippets.
|
|
2030
2104
|
|
|
2105
|
+
|
|
2031
2106
|
x-categories:
|
|
2032
2107
|
- Highlighting and Snippeting
|
|
2033
2108
|
highlightPostTag:
|
|
@@ -2035,6 +2110,7 @@ components:
|
|
|
2035
2110
|
description: >-
|
|
2036
2111
|
HTML tag to insert after the highlighted parts in all highlighted results and snippets.
|
|
2037
2112
|
|
|
2113
|
+
|
|
2038
2114
|
x-categories:
|
|
2039
2115
|
- Highlighting and Snippeting
|
|
2040
2116
|
snippetEllipsisText:
|
|
@@ -2049,6 +2125,7 @@ components:
|
|
|
2049
2125
|
|
|
2050
2126
|
By default, all items are highlighted and snippeted.
|
|
2051
2127
|
|
|
2128
|
+
|
|
2052
2129
|
x-categories:
|
|
2053
2130
|
- Highlighting and Snippeting
|
|
2054
2131
|
hitsPerPage:
|
|
@@ -2058,6 +2135,7 @@ components:
|
|
|
2058
2135
|
description: >-
|
|
2059
2136
|
Minimum number of characters a word in the search query must contain to accept matches with [one typo](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configuring-word-length-for-typos).
|
|
2060
2137
|
|
|
2138
|
+
|
|
2061
2139
|
x-categories:
|
|
2062
2140
|
- Typos
|
|
2063
2141
|
minWordSizefor2Typos:
|
|
@@ -2065,6 +2143,7 @@ components:
|
|
|
2065
2143
|
description: >-
|
|
2066
2144
|
Minimum number of characters a word in the search query must contain to accept matches with [two typos](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configuring-word-length-for-typos).
|
|
2067
2145
|
|
|
2146
|
+
|
|
2068
2147
|
x-categories:
|
|
2069
2148
|
- Typos
|
|
2070
2149
|
typoTolerance:
|
|
@@ -2100,6 +2179,7 @@ components:
|
|
|
2100
2179
|
|
|
2101
2180
|
Consider alternatives such as `disableTypoToleranceOnWords` or adding synonyms if your attributes have intentional unusual spellings that might look like typos.
|
|
2102
2181
|
|
|
2182
|
+
|
|
2103
2183
|
x-categories:
|
|
2104
2184
|
- Typos
|
|
2105
2185
|
ignorePlurals:
|
|
@@ -2133,6 +2213,7 @@ components:
|
|
|
2133
2213
|
|
|
2134
2214
|
For more information, see [Language-specific configuration](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations/).
|
|
2135
2215
|
|
|
2216
|
+
|
|
2136
2217
|
x-categories:
|
|
2137
2218
|
- Languages
|
|
2138
2219
|
decompoundQuery:
|
|
@@ -2149,6 +2230,7 @@ components:
|
|
|
2149
2230
|
|
|
2150
2231
|
For example, `Gartenstühle` won't be decompounded if the `ü` consists of `u` (U+0075) and `◌̈` (U+0308).
|
|
2151
2232
|
|
|
2233
|
+
|
|
2152
2234
|
x-categories:
|
|
2153
2235
|
- Languages
|
|
2154
2236
|
enableRules:
|
|
@@ -2177,6 +2259,7 @@ components:
|
|
|
2177
2259
|
|
|
2178
2260
|
Use the `advancedSyntaxFeatures` parameter to control which feature is supported.
|
|
2179
2261
|
|
|
2262
|
+
|
|
2180
2263
|
x-categories:
|
|
2181
2264
|
- Query strategy
|
|
2182
2265
|
optionalWords:
|
|
@@ -2201,6 +2284,7 @@ components:
|
|
|
2201
2284
|
|
|
2202
2285
|
This reduces the impact of individual attributes with a lot of content on ranking.
|
|
2203
2286
|
|
|
2287
|
+
|
|
2204
2288
|
x-categories:
|
|
2205
2289
|
- Query strategy
|
|
2206
2290
|
exactOnSingleWordQuery:
|
|
@@ -2232,6 +2316,7 @@ components:
|
|
|
2232
2316
|
- `multiWordsSynonym`.
|
|
2233
2317
|
Multi-word synonyms, such as "NY" = "New York", are considered exact matches.
|
|
2234
2318
|
|
|
2319
|
+
|
|
2235
2320
|
x-categories:
|
|
2236
2321
|
- Query strategy
|
|
2237
2322
|
advancedSyntaxFeatures:
|
|
@@ -2273,6 +2358,7 @@ components:
|
|
|
2273
2358
|
|
|
2274
2359
|
but all occurrences of "house" are replaced by "home" in the highlighted response.
|
|
2275
2360
|
|
|
2361
|
+
|
|
2276
2362
|
x-categories:
|
|
2277
2363
|
- Highlighting and Snippeting
|
|
2278
2364
|
minProximity:
|
|
@@ -2290,6 +2376,7 @@ components:
|
|
|
2290
2376
|
|
|
2291
2377
|
For example, if `minProximity` is 2, neighboring matches and matches with one word between them would have the same score.
|
|
2292
2378
|
|
|
2379
|
+
|
|
2293
2380
|
x-categories:
|
|
2294
2381
|
- Advanced
|
|
2295
2382
|
responseFields:
|
|
@@ -2321,6 +2408,7 @@ components:
|
|
|
2321
2408
|
|
|
2322
2409
|
Before restricting the response size, check the impact on your search experience.
|
|
2323
2410
|
|
|
2411
|
+
|
|
2324
2412
|
x-categories:
|
|
2325
2413
|
- Advanced
|
|
2326
2414
|
maxValuesPerFacet:
|
|
@@ -2346,6 +2434,7 @@ components:
|
|
|
2346
2434
|
|
|
2347
2435
|
For more information, see [facet value display](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/facet-display/js/).
|
|
2348
2436
|
|
|
2437
|
+
|
|
2349
2438
|
x-categories:
|
|
2350
2439
|
- Faceting
|
|
2351
2440
|
attributeCriteriaComputedByMinProximity:
|
|
@@ -2360,6 +2449,7 @@ components:
|
|
|
2360
2449
|
|
|
2361
2450
|
Otherwise, the best matching attribute is determined by the order in the `searchableAttributes` setting.
|
|
2362
2451
|
|
|
2452
|
+
|
|
2363
2453
|
x-categories:
|
|
2364
2454
|
- Advanced
|
|
2365
2455
|
renderingContent:
|
|
@@ -2372,6 +2462,7 @@ components:
|
|
|
2372
2462
|
|
|
2373
2463
|
This setting only has an effect if you activated Dynamic Re-Ranking for this index in the Algolia dashboard.
|
|
2374
2464
|
|
|
2465
|
+
|
|
2375
2466
|
x-categories:
|
|
2376
2467
|
- Filtering
|
|
2377
2468
|
reRankingApplyFilter:
|
|
@@ -2383,6 +2474,7 @@ components:
|
|
|
2383
2474
|
description: >-
|
|
2384
2475
|
Each parameter value, including the `query` must not be larger than 512 bytes.
|
|
2385
2476
|
|
|
2477
|
+
|
|
2386
2478
|
allOf:
|
|
2387
2479
|
- $ref: '#/components/schemas/baseSearchParams'
|
|
2388
2480
|
- $ref: '#/components/schemas/indexSettingsAsSearchParams'
|
|
@@ -2441,12 +2533,14 @@ components:
|
|
|
2441
2533
|
description: >-
|
|
2442
2534
|
A/B test ID. This is only included in the response for indices that are part of an A/B test.
|
|
2443
2535
|
|
|
2536
|
+
|
|
2444
2537
|
abTestVariantID:
|
|
2445
2538
|
type: integer
|
|
2446
2539
|
minimum: 1
|
|
2447
2540
|
description: >-
|
|
2448
2541
|
Variant ID. This is only included in the response for indices that are part of an A/B test.
|
|
2449
2542
|
|
|
2543
|
+
|
|
2450
2544
|
aroundLatLng:
|
|
2451
2545
|
type: string
|
|
2452
2546
|
description: Computed geographical location.
|
|
@@ -2461,6 +2555,7 @@ components:
|
|
|
2461
2555
|
description: >-
|
|
2462
2556
|
Whether certain properties of the search response are calculated exhaustive (exact) or approximated.
|
|
2463
2557
|
|
|
2558
|
+
|
|
2464
2559
|
properties:
|
|
2465
2560
|
facetsCount:
|
|
2466
2561
|
type: boolean
|
|
@@ -2468,6 +2563,7 @@ components:
|
|
|
2468
2563
|
description: >-
|
|
2469
2564
|
Whether the facet count is exhaustive (`true`) or approximate (`false`). See the [related discussion](https://support.algolia.com/hc/en-us/articles/4406975248145-Why-are-my-facet-and-hit-counts-not-accurate-).
|
|
2470
2565
|
|
|
2566
|
+
|
|
2471
2567
|
facetValues:
|
|
2472
2568
|
type: boolean
|
|
2473
2569
|
title: facetValues
|
|
@@ -2478,18 +2574,21 @@ components:
|
|
|
2478
2574
|
description: >-
|
|
2479
2575
|
Whether the `nbHits` is exhaustive (`true`) or approximate (`false`). When the query takes more than 50ms to be processed, the engine makes an approximation. This can happen when using complex filters on millions of records, when typo-tolerance was not exhaustive, or when enough hits have been retrieved (for example, after the engine finds 10,000 exact matches). `nbHits` is reported as non-exhaustive whenever an approximation is made, even if the approximation didn’t, in the end, impact the exhaustivity of the query.
|
|
2480
2576
|
|
|
2577
|
+
|
|
2481
2578
|
rulesMatch:
|
|
2482
2579
|
type: boolean
|
|
2483
2580
|
title: rulesMatch
|
|
2484
2581
|
description: >-
|
|
2485
2582
|
Rules matching exhaustivity. The value is `false` if rules were enable for this query, and could not be fully processed due a timeout. This is generally caused by the number of alternatives (such as typos) which is too large.
|
|
2486
2583
|
|
|
2584
|
+
|
|
2487
2585
|
typo:
|
|
2488
2586
|
type: boolean
|
|
2489
2587
|
title: typo
|
|
2490
2588
|
description: >-
|
|
2491
2589
|
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.
|
|
2492
2590
|
|
|
2591
|
+
|
|
2493
2592
|
appliedRules:
|
|
2494
2593
|
description: Rules applied to the query.
|
|
2495
2594
|
title: appliedRules
|
|
@@ -2501,6 +2600,7 @@ components:
|
|
|
2501
2600
|
description: >-
|
|
2502
2601
|
See the `facetsCount` field of the `exhaustive` object in the response.
|
|
2503
2602
|
|
|
2603
|
+
|
|
2504
2604
|
deprecated: true
|
|
2505
2605
|
exhaustiveNbHits:
|
|
2506
2606
|
type: boolean
|
|
@@ -2552,6 +2652,7 @@ components:
|
|
|
2552
2652
|
description: >-
|
|
2553
2653
|
Index name used for the query. During A/B testing, the targeted index isn't always the index used by the query.
|
|
2554
2654
|
|
|
2655
|
+
|
|
2555
2656
|
example: indexNameAlt
|
|
2556
2657
|
message:
|
|
2557
2658
|
type: string
|
|
@@ -2565,6 +2666,7 @@ components:
|
|
|
2565
2666
|
description: >-
|
|
2566
2667
|
Post-[normalization](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/#what-does-normalization-mean) query string that will be searched.
|
|
2567
2668
|
|
|
2669
|
+
|
|
2568
2670
|
example: george clo
|
|
2569
2671
|
processingTimeMS:
|
|
2570
2672
|
$ref: '#/components/schemas/processingTimeMS'
|
|
@@ -2573,17 +2675,20 @@ components:
|
|
|
2573
2675
|
description: >-
|
|
2574
2676
|
Experimental. List of processing steps and their times, in milliseconds. You can use this list to investigate performance issues.
|
|
2575
2677
|
|
|
2678
|
+
|
|
2576
2679
|
queryAfterRemoval:
|
|
2577
2680
|
type: string
|
|
2578
2681
|
description: >-
|
|
2579
2682
|
Markup text indicating which parts of the original query have been removed to retrieve a non-empty result set.
|
|
2580
2683
|
|
|
2684
|
+
|
|
2581
2685
|
redirect:
|
|
2582
2686
|
title: redirect
|
|
2583
2687
|
type: object
|
|
2584
2688
|
description: >
|
|
2585
2689
|
[Redirect results to a URL](https://www.algolia.com/doc/guides/managing-results/rules/merchandising-and-promoting/how-to/redirects/), this this parameter is for internal use only.
|
|
2586
2690
|
|
|
2691
|
+
|
|
2587
2692
|
properties:
|
|
2588
2693
|
index:
|
|
2589
2694
|
type: array
|
|
@@ -2606,6 +2711,7 @@ components:
|
|
|
2606
2711
|
description: >-
|
|
2607
2712
|
Unique identifier for the query. This is used for [click analytics](https://www.algolia.com/doc/guides/analytics/click-analytics/).
|
|
2608
2713
|
|
|
2714
|
+
|
|
2609
2715
|
example: a00dbc80a8d13c4565a442e7e2dca80a
|
|
2610
2716
|
_automaticInsights:
|
|
2611
2717
|
type: boolean
|
|
@@ -2741,6 +2847,7 @@ components:
|
|
|
2741
2847
|
description: >-
|
|
2742
2848
|
Distance between the matched location and the search location (in meters).
|
|
2743
2849
|
|
|
2850
|
+
|
|
2744
2851
|
personalization:
|
|
2745
2852
|
type: object
|
|
2746
2853
|
properties:
|
|
@@ -2768,12 +2875,14 @@ components:
|
|
|
2768
2875
|
description: >-
|
|
2769
2876
|
Position of the first matched word in the best matching attribute of the record.
|
|
2770
2877
|
|
|
2878
|
+
|
|
2771
2879
|
geoDistance:
|
|
2772
2880
|
type: integer
|
|
2773
2881
|
minimum: 0
|
|
2774
2882
|
description: >-
|
|
2775
2883
|
Distance between the geo location in the search query and the best matching geo location in the record, divided by the geo precision (in meters).
|
|
2776
2884
|
|
|
2885
|
+
|
|
2777
2886
|
geoPrecision:
|
|
2778
2887
|
type: integer
|
|
2779
2888
|
minimum: 1
|
|
@@ -2799,11 +2908,13 @@ components:
|
|
|
2799
2908
|
description: >-
|
|
2800
2909
|
Number of words between multiple matches in the query plus 1. For single word queries, `proximityDistance` is 0.
|
|
2801
2910
|
|
|
2911
|
+
|
|
2802
2912
|
userScore:
|
|
2803
2913
|
type: integer
|
|
2804
2914
|
description: >-
|
|
2805
2915
|
Overall ranking of the record, expressed as a single integer. This attribute is internal.
|
|
2806
2916
|
|
|
2917
|
+
|
|
2807
2918
|
words:
|
|
2808
2919
|
type: integer
|
|
2809
2920
|
minimum: 1
|
|
@@ -2827,6 +2938,7 @@ components:
|
|
|
2827
2938
|
|
|
2828
2939
|
A hit is a record from your index, augmented with special attributes for highlighting, snippeting, and ranking.
|
|
2829
2940
|
|
|
2941
|
+
|
|
2830
2942
|
x-is-generic: true
|
|
2831
2943
|
additionalProperties: true
|
|
2832
2944
|
required:
|
|
@@ -2854,6 +2966,7 @@ components:
|
|
|
2854
2966
|
|
|
2855
2967
|
Hits are records from your index that match the search criteria, augmented with additional attributes, such as, for highlighting.
|
|
2856
2968
|
|
|
2969
|
+
|
|
2857
2970
|
items:
|
|
2858
2971
|
$ref: '#/components/schemas/hit'
|
|
2859
2972
|
query:
|
|
@@ -2885,6 +2998,7 @@ components:
|
|
|
2885
2998
|
|
|
2886
2999
|
- `facet` [searches for facet values](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#search-for-facet-values).
|
|
2887
3000
|
|
|
3001
|
+
|
|
2888
3002
|
searchForHitsOptions:
|
|
2889
3003
|
x-is-SearchForHitsOptions: true
|
|
2890
3004
|
type: object
|
|
@@ -2908,6 +3022,7 @@ components:
|
|
|
2908
3022
|
description: >-
|
|
2909
3023
|
Maximum number of facet values to return when [searching for facet values](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#search-for-facet-values).
|
|
2910
3024
|
|
|
3025
|
+
|
|
2911
3026
|
maximum: 100
|
|
2912
3027
|
x-categories:
|
|
2913
3028
|
- Advanced
|
|
@@ -2920,6 +3035,7 @@ components:
|
|
|
2920
3035
|
|
|
2921
3036
|
- `facet` [searches for facet values](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#search-for-facet-values).
|
|
2922
3037
|
|
|
3038
|
+
|
|
2923
3039
|
searchForFacetsOptions:
|
|
2924
3040
|
type: object
|
|
2925
3041
|
properties:
|
|
@@ -2962,6 +3078,7 @@ components:
|
|
|
2962
3078
|
|
|
2963
3079
|
- `stopIfEnoughMatches`. Run the queries one by one, stopping as soon as a query matches at least the `hitsPerPage` number of results.
|
|
2964
3080
|
|
|
3081
|
+
|
|
2965
3082
|
searchForFacetValuesResponse:
|
|
2966
3083
|
type: object
|
|
2967
3084
|
additionalProperties: false
|
|
@@ -2993,6 +3110,7 @@ components:
|
|
|
2993
3110
|
description: >-
|
|
2994
3111
|
Number of records with this facet value. [The count may be approximated](https://support.algolia.com/hc/en-us/articles/4406975248145-Why-are-my-facet-and-hit-counts-not-accurate-).
|
|
2995
3112
|
|
|
3113
|
+
|
|
2996
3114
|
type: integer
|
|
2997
3115
|
exhaustiveFacetsCount:
|
|
2998
3116
|
type: boolean
|
|
@@ -3001,6 +3119,7 @@ components:
|
|
|
3001
3119
|
|
|
3002
3120
|
For more information, see [Why are my facet and hit counts not accurate](https://support.algolia.com/hc/en-us/articles/4406975248145-Why-are-my-facet-and-hit-counts-not-accurate-).
|
|
3003
3121
|
|
|
3122
|
+
|
|
3004
3123
|
processingTimeMS:
|
|
3005
3124
|
$ref: '#/components/schemas/processingTimeMS'
|
|
3006
3125
|
searchResult:
|
|
@@ -3021,6 +3140,7 @@ components:
|
|
|
3021
3140
|
|
|
3022
3141
|
The last page of the response does not return a `cursor` attribute.
|
|
3023
3142
|
|
|
3143
|
+
|
|
3024
3144
|
example: jMDY3M2MwM2QwMWUxMmQwYWI0ZTN
|
|
3025
3145
|
browseParamsObject:
|
|
3026
3146
|
allOf:
|
|
@@ -3062,6 +3182,7 @@ components:
|
|
|
3062
3182
|
|
|
3063
3183
|
A successful API response means that a task was added to a queue. It might not run immediately. You can check the task's progress with the [`task` operation](#tag/Indices/operation/getTask) and this `taskID`.
|
|
3064
3184
|
|
|
3185
|
+
|
|
3065
3186
|
deletedAt:
|
|
3066
3187
|
type: string
|
|
3067
3188
|
example: '2023-06-27T14:42:38.831Z'
|
|
@@ -3212,6 +3333,7 @@ components:
|
|
|
3212
3333
|
This ensures accurate facet counts.
|
|
3213
3334
|
You can apply this modifier to searchable facets: `afterDistinct(searchable(ATTRIBUTE))`.
|
|
3214
3335
|
|
|
3336
|
+
|
|
3215
3337
|
x-categories:
|
|
3216
3338
|
- Faceting
|
|
3217
3339
|
replicas:
|
|
@@ -3243,6 +3365,7 @@ components:
|
|
|
3243
3365
|
Create a virtual replica,
|
|
3244
3366
|
Virtual replicas don't increase the number of records and are optimized for [Relevant sorting](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort/).
|
|
3245
3367
|
|
|
3368
|
+
|
|
3246
3369
|
x-categories:
|
|
3247
3370
|
- Ranking
|
|
3248
3371
|
paginationLimitedTo:
|
|
@@ -3256,6 +3379,7 @@ components:
|
|
|
3256
3379
|
|
|
3257
3380
|
For pagination limits above 1,000, the sorting of results beyond the 1,000th hit can't be guaranteed.
|
|
3258
3381
|
|
|
3382
|
+
|
|
3259
3383
|
maximum: 20000
|
|
3260
3384
|
unretrievableAttributes:
|
|
3261
3385
|
type: array
|
|
@@ -3273,6 +3397,7 @@ components:
|
|
|
3273
3397
|
|
|
3274
3398
|
Attribute names are case-sensitive.
|
|
3275
3399
|
|
|
3400
|
+
|
|
3276
3401
|
x-categories:
|
|
3277
3402
|
- Attributes
|
|
3278
3403
|
disableTypoToleranceOnWords:
|
|
@@ -3287,6 +3412,7 @@ components:
|
|
|
3287
3412
|
|
|
3288
3413
|
This also turns off [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation/) for the specified words.
|
|
3289
3414
|
|
|
3415
|
+
|
|
3290
3416
|
x-categories:
|
|
3291
3417
|
- Typos
|
|
3292
3418
|
attributesToTransliterate:
|
|
@@ -3300,6 +3426,7 @@ components:
|
|
|
3300
3426
|
|
|
3301
3427
|
Attribute names are case-sensitive.
|
|
3302
3428
|
|
|
3429
|
+
|
|
3303
3430
|
type: array
|
|
3304
3431
|
items:
|
|
3305
3432
|
type: string
|
|
@@ -3319,6 +3446,7 @@ components:
|
|
|
3319
3446
|
|
|
3320
3447
|
Attribute names are case-sensitive.
|
|
3321
3448
|
|
|
3449
|
+
|
|
3322
3450
|
x-categories:
|
|
3323
3451
|
- Languages
|
|
3324
3452
|
decompoundedAttributes:
|
|
@@ -3349,6 +3477,7 @@ components:
|
|
|
3349
3477
|
|
|
3350
3478
|
For example, `Gartenstühle` won't be decompounded if the `ü` consists of `u` (U+0075) and `◌̈` (U+0308).
|
|
3351
3479
|
|
|
3480
|
+
|
|
3352
3481
|
x-categories:
|
|
3353
3482
|
- Languages
|
|
3354
3483
|
indexLanguages:
|
|
@@ -3371,6 +3500,7 @@ components:
|
|
|
3371
3500
|
|
|
3372
3501
|
For more information, see [Language-specific configuration](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations/).
|
|
3373
3502
|
|
|
3503
|
+
|
|
3374
3504
|
x-categories:
|
|
3375
3505
|
- Languages
|
|
3376
3506
|
disablePrefixOnAttributes:
|
|
@@ -3384,6 +3514,7 @@ components:
|
|
|
3384
3514
|
|
|
3385
3515
|
Attribute names are case-sensitive.
|
|
3386
3516
|
|
|
3517
|
+
|
|
3387
3518
|
x-categories:
|
|
3388
3519
|
- Query strategy
|
|
3389
3520
|
allowCompressionOfIntegerArray:
|
|
@@ -3393,6 +3524,7 @@ components:
|
|
|
3393
3524
|
|
|
3394
3525
|
If true, the compressed arrays may be reordered.
|
|
3395
3526
|
|
|
3527
|
+
|
|
3396
3528
|
x-categories:
|
|
3397
3529
|
- Performance
|
|
3398
3530
|
numericAttributesForFiltering:
|
|
@@ -3419,6 +3551,7 @@ components:
|
|
|
3419
3551
|
- `equalOnly("ATTRIBUTE")`.
|
|
3420
3552
|
Support only filtering based on equality comparisons `=` and `!=`.
|
|
3421
3553
|
|
|
3554
|
+
|
|
3422
3555
|
example:
|
|
3423
3556
|
- equalOnly(quantity)
|
|
3424
3557
|
- popularity
|
|
@@ -3443,6 +3576,7 @@ components:
|
|
|
3443
3576
|
|
|
3444
3577
|
For example, in a search for "Disney+", Algolia considers "Disney" and "+" as two separate words.
|
|
3445
3578
|
|
|
3579
|
+
|
|
3446
3580
|
x-categories:
|
|
3447
3581
|
- Typos
|
|
3448
3582
|
searchableAttributes:
|
|
@@ -3480,6 +3614,7 @@ components:
|
|
|
3480
3614
|
|
|
3481
3615
|
Without a modifier, matches at the beginning of an attribute rank higher than matches at the end.
|
|
3482
3616
|
|
|
3617
|
+
|
|
3483
3618
|
x-categories:
|
|
3484
3619
|
- Attributes
|
|
3485
3620
|
userData:
|
|
@@ -3490,6 +3625,7 @@ components:
|
|
|
3490
3625
|
|
|
3491
3626
|
This overrides Algolia's default [normalization](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/).
|
|
3492
3627
|
|
|
3628
|
+
|
|
3493
3629
|
type: object
|
|
3494
3630
|
additionalProperties:
|
|
3495
3631
|
type: object
|
|
@@ -3515,6 +3651,7 @@ components:
|
|
|
3515
3651
|
|
|
3516
3652
|
This applies faceting _after_ deduplication, which will result in accurate facet counts.
|
|
3517
3653
|
|
|
3654
|
+
|
|
3518
3655
|
example: url
|
|
3519
3656
|
type: string
|
|
3520
3657
|
maxFacetHits:
|
|
@@ -3566,6 +3703,7 @@ components:
|
|
|
3566
3703
|
|
|
3567
3704
|
or the other attributes will never be applied.
|
|
3568
3705
|
|
|
3706
|
+
|
|
3569
3707
|
x-categories:
|
|
3570
3708
|
- Ranking
|
|
3571
3709
|
indexSettings:
|
|
@@ -3582,6 +3720,7 @@ components:
|
|
|
3582
3720
|
description: >
|
|
3583
3721
|
Replica indices only: the name of the primary index for this replica.
|
|
3584
3722
|
|
|
3723
|
+
|
|
3585
3724
|
settingsResponse:
|
|
3586
3725
|
allOf:
|
|
3587
3726
|
- $ref: '#/components/schemas/indexSettings'
|
|
@@ -3623,12 +3762,14 @@ components:
|
|
|
3623
3762
|
description: >-
|
|
3624
3763
|
Word or phrase to appear in query strings (for [`onewaysynonym`s](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/in-depth/one-way-synonyms/)).
|
|
3625
3764
|
|
|
3765
|
+
|
|
3626
3766
|
example: car
|
|
3627
3767
|
word:
|
|
3628
3768
|
type: string
|
|
3629
3769
|
description: >-
|
|
3630
3770
|
Word or phrase to appear in query strings (for [`altcorrection1` and `altcorrection2`](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/in-depth/synonyms-alternative-corrections/)).
|
|
3631
3771
|
|
|
3772
|
+
|
|
3632
3773
|
example: car
|
|
3633
3774
|
corrections:
|
|
3634
3775
|
type: array
|
|
@@ -3643,6 +3784,7 @@ components:
|
|
|
3643
3784
|
description: >
|
|
3644
3785
|
[Placeholder token](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/in-depth/synonyms-placeholders/) to be put inside records.
|
|
3645
3786
|
|
|
3787
|
+
|
|
3646
3788
|
example: <Street>
|
|
3647
3789
|
replacements:
|
|
3648
3790
|
type: array
|
|
@@ -3651,6 +3793,7 @@ components:
|
|
|
3651
3793
|
description: >-
|
|
3652
3794
|
Query words that will match the [placeholder token](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/in-depth/synonyms-placeholders/).
|
|
3653
3795
|
|
|
3796
|
+
|
|
3654
3797
|
example:
|
|
3655
3798
|
- street
|
|
3656
3799
|
- st
|
|
@@ -3688,6 +3831,7 @@ components:
|
|
|
3688
3831
|
description: >-
|
|
3689
3832
|
Timestamp when the object was created, in milliseconds since the Unix epoch.
|
|
3690
3833
|
|
|
3834
|
+
|
|
3691
3835
|
baseGetApiKeyResponse:
|
|
3692
3836
|
type: object
|
|
3693
3837
|
additionalProperties: false
|
|
@@ -3732,6 +3876,7 @@ components:
|
|
|
3732
3876
|
|
|
3733
3877
|
For more information, see [access control list](https://www.algolia.com/doc/guides/security/api-keys/#access-control-list-acl).
|
|
3734
3878
|
|
|
3879
|
+
|
|
3735
3880
|
example:
|
|
3736
3881
|
- search
|
|
3737
3882
|
- addObject
|
|
@@ -3758,6 +3903,7 @@ components:
|
|
|
3758
3903
|
|
|
3759
3904
|
- `*_products_*` matches all indices containing "_products_".
|
|
3760
3905
|
|
|
3906
|
+
|
|
3761
3907
|
example:
|
|
3762
3908
|
- dev_*
|
|
3763
3909
|
- prod_en_products
|
|
@@ -3778,6 +3924,7 @@ components:
|
|
|
3778
3924
|
|
|
3779
3925
|
By default, there's no limit.
|
|
3780
3926
|
|
|
3927
|
+
|
|
3781
3928
|
queryParameters:
|
|
3782
3929
|
type: string
|
|
3783
3930
|
description: >
|
|
@@ -3791,6 +3938,7 @@ components:
|
|
|
3791
3938
|
|
|
3792
3939
|
Creating an API key fails if the request is made from an IP address outside the restricted range.
|
|
3793
3940
|
|
|
3941
|
+
|
|
3794
3942
|
example: typoTolerance=strict&restrictSources=192.168.1.0/24
|
|
3795
3943
|
referers:
|
|
3796
3944
|
type: array
|
|
@@ -3814,6 +3962,7 @@ components:
|
|
|
3814
3962
|
|
|
3815
3963
|
For more information, see [HTTP referrer restrictions](https://www.algolia.com/doc/guides/security/security-best-practices/#http-referrers-restrictions).
|
|
3816
3964
|
|
|
3965
|
+
|
|
3817
3966
|
example:
|
|
3818
3967
|
- '*algolia.com*'
|
|
3819
3968
|
items:
|
|
@@ -3871,6 +4020,7 @@ components:
|
|
|
3871
4020
|
|
|
3872
4021
|
A rule context must only contain alphanumeric characters.
|
|
3873
4022
|
|
|
4023
|
+
|
|
3874
4024
|
example: mobile
|
|
3875
4025
|
condition:
|
|
3876
4026
|
type: object
|
|
@@ -3888,6 +4038,7 @@ components:
|
|
|
3888
4038
|
|
|
3889
4039
|
For example, with `pattern: {facet:genre}`, the rule is triggered when users search for a genre, such as "comedy".
|
|
3890
4040
|
|
|
4041
|
+
|
|
3891
4042
|
example: '{facet:genre}'
|
|
3892
4043
|
anchoring:
|
|
3893
4044
|
$ref: '#/components/schemas/anchoring'
|
|
@@ -3908,6 +4059,7 @@ components:
|
|
|
3908
4059
|
|
|
3909
4060
|
You can't combine multiple filters with `OR` and you can't use numeric filters.
|
|
3910
4061
|
|
|
4062
|
+
|
|
3911
4063
|
example: genre:comedy
|
|
3912
4064
|
editType:
|
|
3913
4065
|
description: Type of edit.
|
|
@@ -3928,6 +4080,7 @@ components:
|
|
|
3928
4080
|
description: >-
|
|
3929
4081
|
Text to be added in place of the deleted text inside the query string.
|
|
3930
4082
|
|
|
4083
|
+
|
|
3931
4084
|
type: string
|
|
3932
4085
|
consequenceQueryObject:
|
|
3933
4086
|
type: object
|
|
@@ -3952,6 +4105,7 @@ components:
|
|
|
3952
4105
|
|
|
3953
4106
|
If `consequenceQuery` is an object, it describes incremental edits made to the query.
|
|
3954
4107
|
|
|
4108
|
+
|
|
3955
4109
|
oneOf:
|
|
3956
4110
|
- $ref: '#/components/schemas/consequenceQueryObject'
|
|
3957
4111
|
- type: string
|
|
@@ -3969,6 +4123,7 @@ components:
|
|
|
3969
4123
|
|
|
3970
4124
|
For example, with `pattern: {facet:genre}`, `automaticFacetFilters` must be `genre`.
|
|
3971
4125
|
|
|
4126
|
+
|
|
3972
4127
|
score:
|
|
3973
4128
|
type: integer
|
|
3974
4129
|
description: Filter scores to give different weights to individual filters.
|
|
@@ -3982,6 +4137,7 @@ components:
|
|
|
3982
4137
|
|
|
3983
4138
|
If false, multiple occurences are combined with the logical `AND` operation.
|
|
3984
4139
|
|
|
4140
|
+
|
|
3985
4141
|
required:
|
|
3986
4142
|
- facet
|
|
3987
4143
|
automaticFacetFilters:
|
|
@@ -3995,6 +4151,7 @@ components:
|
|
|
3995
4151
|
|
|
3996
4152
|
you can filter the results to show the top-ranked comedy movies.
|
|
3997
4153
|
|
|
4154
|
+
|
|
3998
4155
|
oneOf:
|
|
3999
4156
|
- type: array
|
|
4000
4157
|
items:
|
|
@@ -4010,6 +4167,7 @@ components:
|
|
|
4010
4167
|
|
|
4011
4168
|
You can use all search parameters, plus special `automaticFacetFilters`, `automaticOptionalFacetFilters`, and `query`.
|
|
4012
4169
|
|
|
4170
|
+
|
|
4013
4171
|
additionalProperties: false
|
|
4014
4172
|
properties:
|
|
4015
4173
|
query:
|
|
@@ -4030,6 +4188,7 @@ components:
|
|
|
4030
4188
|
description: >-
|
|
4031
4189
|
Position in the search results where you want to show the promoted records.
|
|
4032
4190
|
|
|
4191
|
+
|
|
4033
4192
|
example: 0
|
|
4034
4193
|
promoteObjectIDs:
|
|
4035
4194
|
title: objectIDs
|
|
@@ -4082,6 +4241,7 @@ components:
|
|
|
4082
4241
|
|
|
4083
4242
|
For more information, see [Consequences](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/#consequences).
|
|
4084
4243
|
|
|
4244
|
+
|
|
4085
4245
|
additionalProperties: false
|
|
4086
4246
|
properties:
|
|
4087
4247
|
params:
|
|
@@ -4095,6 +4255,7 @@ components:
|
|
|
4095
4255
|
|
|
4096
4256
|
You can promote up to 300 records, either individually, or as groups of up to 100 records each.
|
|
4097
4257
|
|
|
4258
|
+
|
|
4098
4259
|
items:
|
|
4099
4260
|
$ref: '#/components/schemas/promote'
|
|
4100
4261
|
filterPromotes:
|
|
@@ -4109,6 +4270,7 @@ components:
|
|
|
4109
4270
|
|
|
4110
4271
|
the "red" record won't be shown.
|
|
4111
4272
|
|
|
4273
|
+
|
|
4112
4274
|
hide:
|
|
4113
4275
|
type: array
|
|
4114
4276
|
maxItems: 50
|
|
@@ -4130,6 +4292,7 @@ components:
|
|
|
4130
4292
|
|
|
4131
4293
|
This object isn't interpreted by the API and is limited to 1 kB of minified JSON.
|
|
4132
4294
|
|
|
4295
|
+
|
|
4133
4296
|
example:
|
|
4134
4297
|
settingID: f2a7b51e3503acc6a39b3784ffb84300
|
|
4135
4298
|
pluginVersion: 1.6.0
|
|
@@ -4167,6 +4330,7 @@ components:
|
|
|
4167
4330
|
|
|
4168
4331
|
For more information, see [Conditions](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/#conditions).
|
|
4169
4332
|
|
|
4333
|
+
|
|
4170
4334
|
items:
|
|
4171
4335
|
$ref: '#/components/schemas/condition'
|
|
4172
4336
|
consequence:
|
|
@@ -4176,6 +4340,7 @@ components:
|
|
|
4176
4340
|
description: >-
|
|
4177
4341
|
Description of the rule's purpose to help you distinguish between different rules.
|
|
4178
4342
|
|
|
4343
|
+
|
|
4179
4344
|
example: Display a promotional banner
|
|
4180
4345
|
enabled:
|
|
4181
4346
|
type: boolean
|
|
@@ -4208,6 +4373,7 @@ components:
|
|
|
4208
4373
|
|
|
4209
4374
|
For example, to display 10 results per page starting from the third page, set `hitsPerPage` to 10 and `page` to 2.
|
|
4210
4375
|
|
|
4376
|
+
|
|
4211
4377
|
parameters_hitsPerPage:
|
|
4212
4378
|
type: integer
|
|
4213
4379
|
minimum: 1
|
|
@@ -4226,6 +4392,7 @@ components:
|
|
|
4226
4392
|
|
|
4227
4393
|
For example, to display 10 results per page starting from the third page, set `hitsPerPage` to 10 and `page` to 2.
|
|
4228
4394
|
|
|
4395
|
+
|
|
4229
4396
|
dictionaryType:
|
|
4230
4397
|
type: string
|
|
4231
4398
|
enum:
|
|
@@ -4252,6 +4419,7 @@ components:
|
|
|
4252
4419
|
description: >-
|
|
4253
4420
|
Whether a dictionary entry is provided by Algolia (standard), or has been added by you (custom).
|
|
4254
4421
|
|
|
4422
|
+
|
|
4255
4423
|
dictionaryEntry:
|
|
4256
4424
|
type: object
|
|
4257
4425
|
description: Dictionary entry.
|
|
@@ -4270,6 +4438,7 @@ components:
|
|
|
4270
4438
|
description: >-
|
|
4271
4439
|
Matching dictionary word for `stopwords` and `compounds` dictionaries.
|
|
4272
4440
|
|
|
4441
|
+
|
|
4273
4442
|
example: the
|
|
4274
4443
|
words:
|
|
4275
4444
|
type: array
|
|
@@ -4284,6 +4453,7 @@ components:
|
|
|
4284
4453
|
description: >-
|
|
4285
4454
|
Invividual components of a compound word in the `compounds` dictionary.
|
|
4286
4455
|
|
|
4456
|
+
|
|
4287
4457
|
example:
|
|
4288
4458
|
- kopf
|
|
4289
4459
|
- schmerz
|
|
@@ -4329,6 +4499,7 @@ components:
|
|
|
4329
4499
|
description: >
|
|
4330
4500
|
Key-value pairs of [supported language ISO codes](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages/) and boolean values.
|
|
4331
4501
|
|
|
4502
|
+
|
|
4332
4503
|
additionalProperties: false
|
|
4333
4504
|
properties:
|
|
4334
4505
|
plurals:
|
|
@@ -4344,6 +4515,7 @@ components:
|
|
|
4344
4515
|
description: >-
|
|
4345
4516
|
Dictionary type. If `null`, this dictionary type isn't supported for the language.
|
|
4346
4517
|
|
|
4518
|
+
|
|
4347
4519
|
properties:
|
|
4348
4520
|
nbCustomEntries:
|
|
4349
4521
|
description: Number of custom dictionary entries.
|
|
@@ -4439,6 +4611,7 @@ components:
|
|
|
4439
4611
|
description: >-
|
|
4440
4612
|
Task status, `published` if the task is completed, `notPublished` otherwise.
|
|
4441
4613
|
|
|
4614
|
+
|
|
4442
4615
|
GetTaskResponse:
|
|
4443
4616
|
title: getTaskResponse
|
|
4444
4617
|
type: object
|
|
@@ -4474,6 +4647,7 @@ components:
|
|
|
4474
4647
|
description: >-
|
|
4475
4648
|
Index creation date. An empty string means that the index has no records.
|
|
4476
4649
|
|
|
4650
|
+
|
|
4477
4651
|
example: '2022-09-19T16:36:44.471Z'
|
|
4478
4652
|
updatedAt:
|
|
4479
4653
|
$ref: '#/components/schemas/updatedAt'
|
|
@@ -4500,16 +4674,19 @@ components:
|
|
|
4500
4674
|
description: >-
|
|
4501
4675
|
Number of pending indexing operations. This value is deprecated and should not be used.
|
|
4502
4676
|
|
|
4677
|
+
|
|
4503
4678
|
pendingTask:
|
|
4504
4679
|
type: boolean
|
|
4505
4680
|
description: >-
|
|
4506
4681
|
A boolean which says whether the index has pending tasks. This value is deprecated and should not be used.
|
|
4507
4682
|
|
|
4683
|
+
|
|
4508
4684
|
primary:
|
|
4509
4685
|
type: string
|
|
4510
4686
|
description: >-
|
|
4511
4687
|
Only present if the index is a replica. Contains the name of the related primary index.
|
|
4512
4688
|
|
|
4689
|
+
|
|
4513
4690
|
example: T02
|
|
4514
4691
|
replicas:
|
|
4515
4692
|
type: array
|
|
@@ -4518,6 +4695,7 @@ components:
|
|
|
4518
4695
|
description: >-
|
|
4519
4696
|
Only present if the index is a primary index with replicas. Contains the names of all linked replicas.
|
|
4520
4697
|
|
|
4698
|
+
|
|
4521
4699
|
example:
|
|
4522
4700
|
- T02_push
|
|
4523
4701
|
- T2replica
|
|
@@ -4526,6 +4704,7 @@ components:
|
|
|
4526
4704
|
description: >-
|
|
4527
4705
|
Only present if the index is a [virtual replica](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/how-to/sort-an-index-alphabetically/#virtual-replicas).
|
|
4528
4706
|
|
|
4707
|
+
|
|
4529
4708
|
x-categories:
|
|
4530
4709
|
- Ranking
|
|
4531
4710
|
required:
|
|
@@ -4576,12 +4755,14 @@ components:
|
|
|
4576
4755
|
|
|
4577
4756
|
and add `groups:visitors` to the search query, the complete set of filters will be `group:admin AND groups:visitors`.
|
|
4578
4757
|
|
|
4758
|
+
|
|
4579
4759
|
validUntil:
|
|
4580
4760
|
type: integer
|
|
4581
4761
|
format: int64
|
|
4582
4762
|
description: >-
|
|
4583
4763
|
Timestamp when the secured API key expires, measured in seconds since the Unix epoch.
|
|
4584
4764
|
|
|
4765
|
+
|
|
4585
4766
|
restrictIndices:
|
|
4586
4767
|
type: array
|
|
4587
4768
|
items:
|
|
@@ -4601,6 +4782,7 @@ components:
|
|
|
4601
4782
|
|
|
4602
4783
|
- `*_products_*` matches all indices containing "_products_".
|
|
4603
4784
|
|
|
4785
|
+
|
|
4604
4786
|
restrictSources:
|
|
4605
4787
|
type: string
|
|
4606
4788
|
description: >
|
|
@@ -4611,6 +4793,7 @@ components:
|
|
|
4611
4793
|
|
|
4612
4794
|
Use this to protect against API key leaking and reuse.
|
|
4613
4795
|
|
|
4796
|
+
|
|
4614
4797
|
example: 192.168.1.0/24
|
|
4615
4798
|
userToken:
|
|
4616
4799
|
type: string
|
|
@@ -4622,6 +4805,7 @@ components:
|
|
|
4622
4805
|
|
|
4623
4806
|
To avoid this, add a user token to each generated API key.
|
|
4624
4807
|
|
|
4808
|
+
|
|
4625
4809
|
replaceAllObjectsResponse:
|
|
4626
4810
|
type: object
|
|
4627
4811
|
additionalProperties: false
|
|
@@ -4630,6 +4814,7 @@ components:
|
|
|
4630
4814
|
description: >-
|
|
4631
4815
|
The response of the `operationIndex` request for the `copy` operation.
|
|
4632
4816
|
|
|
4817
|
+
|
|
4633
4818
|
$ref: '#/components/schemas/updatedAtResponse'
|
|
4634
4819
|
batchResponses:
|
|
4635
4820
|
type: array
|
|
@@ -4640,6 +4825,7 @@ components:
|
|
|
4640
4825
|
description: >-
|
|
4641
4826
|
The response of the `operationIndex` request for the `move` operation.
|
|
4642
4827
|
|
|
4828
|
+
|
|
4643
4829
|
$ref: '#/components/schemas/updatedAtResponse'
|
|
4644
4830
|
required:
|
|
4645
4831
|
- copyOperationResponse
|
|
@@ -4725,12 +4911,14 @@ components:
|
|
|
4725
4911
|
|
|
4726
4912
|
When used for a source discover or source validate run, it will include the sampled data of the source.
|
|
4727
4913
|
|
|
4914
|
+
|
|
4728
4915
|
items:
|
|
4729
4916
|
type: object
|
|
4730
4917
|
events:
|
|
4731
4918
|
description: >-
|
|
4732
4919
|
in case of error, observability events will be added to the response.
|
|
4733
4920
|
|
|
4921
|
+
|
|
4734
4922
|
type: array
|
|
4735
4923
|
items:
|
|
4736
4924
|
$ref: '#/components/schemas/Event'
|
|
@@ -4738,6 +4926,7 @@ components:
|
|
|
4738
4926
|
description: >-
|
|
4739
4927
|
a message describing the outcome of the operation that has been ran (push, discover or validate) run.
|
|
4740
4928
|
|
|
4929
|
+
|
|
4741
4930
|
type: string
|
|
4742
4931
|
createdAt:
|
|
4743
4932
|
$ref: '#/components/schemas/CreatedAt'
|
|
@@ -4751,6 +4940,7 @@ components:
|
|
|
4751
4940
|
description: >-
|
|
4752
4941
|
The response of the `operationIndex` request for the `copy` operation.
|
|
4753
4942
|
|
|
4943
|
+
|
|
4754
4944
|
$ref: '#/components/schemas/updatedAtResponse'
|
|
4755
4945
|
watchResponses:
|
|
4756
4946
|
type: array
|
|
@@ -4761,6 +4951,7 @@ components:
|
|
|
4761
4951
|
description: >-
|
|
4762
4952
|
The response of the `operationIndex` request for the `move` operation.
|
|
4763
4953
|
|
|
4954
|
+
|
|
4764
4955
|
$ref: '#/components/schemas/updatedAtResponse'
|
|
4765
4956
|
required:
|
|
4766
4957
|
- copyOperationResponse
|
|
@@ -4783,6 +4974,7 @@ components:
|
|
|
4783
4974
|
description: >-
|
|
4784
4975
|
A string to append or remove for the `Add`, `Remove`, and `AddUnique` operations.
|
|
4785
4976
|
|
|
4977
|
+
|
|
4786
4978
|
- type: integer
|
|
4787
4979
|
description: A number to add, remove, or append, depending on the operation.
|
|
4788
4980
|
builtInOperation:
|
|
@@ -4851,6 +5043,7 @@ components:
|
|
|
4851
5043
|
description: >-
|
|
4852
5044
|
Whether to replace all synonyms in the index with the ones sent with this request.
|
|
4853
5045
|
|
|
5046
|
+
|
|
4854
5047
|
KeyString:
|
|
4855
5048
|
in: path
|
|
4856
5049
|
name: key
|
|
@@ -4966,6 +5159,7 @@ components:
|
|
|
4966
5159
|
description: >-
|
|
4967
5160
|
Response, taskID, unique object identifier, and an update timestamp.
|
|
4968
5161
|
|
|
5162
|
+
|
|
4969
5163
|
additionalProperties: false
|
|
4970
5164
|
type: object
|
|
4971
5165
|
properties:
|