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: clients/algoliasearch-client-kotlin/client/src/commonMain/kotlin/com/algolia/client/extensions/SearchForHits.kt
-2
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,6 @@ public fun SearchForHits.Companion.from(
Copy file name to clipboardexpand all lines: specs/common/schemas/IndexSettings.yml
+42-42
Original file line number
Diff line number
Diff line change
@@ -285,6 +285,48 @@ baseIndexSettings:
285
285
type: string
286
286
maxFacetHits:
287
287
$ref: '#/maxFacetHits'
288
+
keepDiacriticsOnCharacters:
289
+
type: string
290
+
example: øé
291
+
description: |
292
+
Characters for which diacritics should be preserved.
293
+
294
+
By default, Algolia removes diacritics from letters.
295
+
For example, `é` becomes `e`. If this causes issues in your search,
296
+
you can specify characters that should keep their diacritics.
297
+
default: ''
298
+
x-categories:
299
+
- Languages
300
+
customRanking:
301
+
type: array
302
+
items:
303
+
type: string
304
+
example:
305
+
- desc(popularity)
306
+
- asc(price)
307
+
description: |
308
+
Attributes to use as [custom ranking](https://www.algolia.com/doc/guides/managing-results/must-do/custom-ranking/).
309
+
Attribute names are case-sensitive.
310
+
311
+
The custom ranking attributes decide which items are shown first if the other ranking criteria are equal.
312
+
313
+
Records with missing values for your selected custom ranking attributes are always sorted last.
314
+
Boolean attributes are sorted based on their alphabetical order.
315
+
316
+
**Modifiers**
317
+
318
+
- `asc("ATTRIBUTE")`.
319
+
Sort the index by the values of an attribute, in ascending order.
320
+
321
+
- `desc("ATTRIBUTE")`.
322
+
Sort the index by the values of an attribute, in descending order.
323
+
324
+
If you use two or more custom ranking attributes,
325
+
[reduce the precision](https://www.algolia.com/doc/guides/managing-results/must-do/custom-ranking/how-to/controlling-custom-ranking-metrics-precision/) of your first attributes,
326
+
or the other attributes will never be applied.
327
+
default: []
328
+
x-categories:
329
+
- Ranking
288
330
289
331
indexSettingsAsSearchParams:
290
332
type: object
@@ -343,36 +385,6 @@ indexSettingsAsSearchParams:
343
385
- custom
344
386
x-categories:
345
387
- Ranking
346
-
customRanking:
347
-
type: array
348
-
items:
349
-
type: string
350
-
example:
351
-
- desc(popularity)
352
-
- asc(price)
353
-
description: |
354
-
Attributes to use as [custom ranking](https://www.algolia.com/doc/guides/managing-results/must-do/custom-ranking/).
355
-
Attribute names are case-sensitive.
356
-
357
-
The custom ranking attributes decide which items are shown first if the other ranking criteria are equal.
358
-
359
-
Records with missing values for your selected custom ranking attributes are always sorted last.
360
-
Boolean attributes are sorted based on their alphabetical order.
361
-
362
-
**Modifiers**
363
-
364
-
- `asc("ATTRIBUTE")`.
365
-
Sort the index by the values of an attribute, in ascending order.
366
-
367
-
- `desc("ATTRIBUTE")`.
368
-
Sort the index by the values of an attribute, in descending order.
369
-
370
-
If you use two or more custom ranking attributes,
371
-
[reduce the precision](https://www.algolia.com/doc/guides/managing-results/must-do/custom-ranking/how-to/controlling-custom-ranking-metrics-precision/) of your first attributes,
372
-
or the other attributes will never be applied.
373
-
default: []
374
-
x-categories:
375
-
- Ranking
376
388
relevancyStrictness:
377
389
type: integer
378
390
example: 90
@@ -497,18 +509,6 @@ indexSettingsAsSearchParams:
497
509
$ref: '#/ignorePlurals'
498
510
removeStopWords:
499
511
$ref: '#/removeStopWords'
500
-
keepDiacriticsOnCharacters:
501
-
type: string
502
-
example: øé
503
-
description: |
504
-
Characters for which diacritics should be preserved.
505
-
506
-
By default, Algolia removes diacritics from letters.
507
-
For example, `é` becomes `e`. If this causes issues in your search,
508
-
you can specify characters that should keep their diacritics.
0 commit comments