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
+22-6Lines changed: 22 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -22,9 +22,10 @@ baseIndexSettings:
22
22
description: |
23
23
Attributes used for [faceting](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/).
24
24
25
-
Facets are ways to categorize search results based on attributes.
26
-
Facets can be used to let user filter search results.
25
+
Facets are attributes that let you categorize search results.
26
+
They can be used for filtering search results.
27
27
By default, no attribute is used for faceting.
28
+
Attribute names are case-sensitive.
28
29
29
30
**Modifiers**
30
31
@@ -84,6 +85,7 @@ baseIndexSettings:
84
85
85
86
This can be useful if you want to use an attribute for ranking or to [restrict access](https://www.algolia.com/doc/guides/security/api-keys/how-to/user-restricted-access-to-data/),
86
87
but don't want to include it in the search results.
88
+
Attribute names are case-sensitive.
87
89
default: []
88
90
x-categories:
89
91
- Attributes
@@ -106,6 +108,7 @@ baseIndexSettings:
106
108
107
109
Transliteration supports searching in any of the Japanese writing systems.
108
110
To support transliteration, you must set the indexing language to Japanese.
111
+
Attribute names are case-sensitive.
109
112
type: array
110
113
items:
111
114
type: string
@@ -119,7 +122,9 @@ baseIndexSettings:
119
122
items:
120
123
type: string
121
124
example: [description]
122
-
description: Attributes for which to split [camel case](https://wikipedia.org/wiki/Camel_case) words.
125
+
description: |
126
+
Attributes for which to split [camel case](https://wikipedia.org/wiki/Camel_case) words.
127
+
Attribute names are case-sensitive.
123
128
default: []
124
129
x-categories:
125
130
- Languages
@@ -130,6 +135,7 @@ baseIndexSettings:
130
135
- name
131
136
description: |
132
137
Searchable attributes to which Algolia should apply [word segmentation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/how-to/customize-segmentation/) (decompounding).
138
+
Attribute names are case-sensitive.
133
139
134
140
Compound words are formed by combining two or more individual words,
135
141
and are particularly prevalent in Germanic languages—for example, "firefighter".
@@ -164,7 +170,9 @@ baseIndexSettings:
164
170
type: string
165
171
example:
166
172
- sku
167
-
description: Searchable attributes for which you want to turn off [prefix matching](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/#adjusting-prefix-search).
173
+
description: |
174
+
Searchable attributes for which you want to turn off [prefix matching](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/#adjusting-prefix-search).
175
+
Attribute names are case-sensitive.
168
176
default: []
169
177
x-categories:
170
178
- Query strategy
@@ -182,6 +190,7 @@ baseIndexSettings:
182
190
type: string
183
191
description: |
184
192
Numeric attributes that can be used as [numerical filters](https://www.algolia.com/doc/guides/managing-results/rules/detecting-intent/how-to/applying-a-custom-filter-for-a-specific-query/#numerical-filters).
193
+
Attribute names are case-sensitive.
185
194
186
195
By default, all numeric attributes are available as numerical filters.
187
196
For faster indexing, reduce the number of numeric attributes.
@@ -221,7 +230,7 @@ baseIndexSettings:
221
230
- unordered(text)
222
231
- emails.personal
223
232
description: |
224
-
Attributes used for searching.
233
+
Attributes used for searching. Attribute names are case-sensitive.
225
234
226
235
By default, all attributes are searchable and the [Attribute](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#attribute) ranking criterion is turned off.
227
236
With a non-empty list, Algolia only returns results with matches in the selected attributes.
@@ -260,6 +269,7 @@ baseIndexSettings:
260
269
attributeForDistinct:
261
270
description: |
262
271
Attribute that should be used to establish groups of results.
272
+
Attribute names are case-sensitive.
263
273
264
274
All records with the same value for this attribute are considered a group.
265
275
You can combine `attributeForDistinct` with the `distinct` search parameter to control
@@ -286,6 +296,7 @@ indexSettingsAsSearchParams:
286
296
Attributes to include in the API response.
287
297
288
298
To reduce the size of your response, you can retrieve only some of the attributes.
299
+
Attribute names are case-sensitive.
289
300
290
301
- `*` retrieves all attributes, except attributes included in the `customRanking` and `unretrievableAttributes` settings.
291
302
- To retrieve all attributes except a specific one, prefix the attribute with a dash and combine it with the `*`: `["*", "-ATTRIBUTE"]`.
@@ -335,6 +346,7 @@ indexSettingsAsSearchParams:
335
346
- asc(price)
336
347
description: |
337
348
Attributes to use as [custom ranking](https://www.algolia.com/doc/guides/managing-results/must-do/custom-ranking/).
349
+
Attribute names are case-sensitive.
338
350
339
351
The custom ranking attributes decide which items are shown first if the other ranking criteria are equal.
340
352
@@ -376,6 +388,7 @@ indexSettingsAsSearchParams:
376
388
377
389
By default, all searchable attributes are highlighted.
378
390
Use `*` to highlight all attributes or use an empty array `[]` to turn off highlighting.
391
+
Attribute names are case-sensitive.
379
392
380
393
With highlighting, strings that match the search query are surrounded by HTML tags defined by `highlightPreTag` and `highlightPostTag`.
381
394
You can use this to visually highlight matching parts of a search query in your UI.
@@ -392,6 +405,7 @@ indexSettingsAsSearchParams:
392
405
- description
393
406
description: |
394
407
Attributes for which to enable snippets.
408
+
Attribute names are case-sensitive.
395
409
396
410
Snippets provide additional context to matched words.
397
411
If you enable snippets, they include 10 words, including the matched word.
@@ -461,6 +475,7 @@ indexSettingsAsSearchParams:
461
475
- sku
462
476
description: |
463
477
Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/).
478
+
Attribute names are case-sensitive.
464
479
465
480
Returning only exact matches can help when:
466
481
@@ -584,6 +599,7 @@ indexSettingsAsSearchParams:
584
599
- description
585
600
description: |
586
601
Searchable attributes for which you want to [turn off the Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes).
602
+
Attribute names are case-sensitive.
587
603
588
604
This can be useful for attributes with long values, where the likelyhood of an exact match is high,
589
605
such as product descriptions.
@@ -741,7 +757,7 @@ maxFacetHits:
741
757
742
758
reRankingApplyFilter:
743
759
description: |
744
-
Restrict [Dynamic Re-ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/) to records that match these filters.
760
+
Restrict [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/) to records that match these filters.
description: Restricts a search to a subset of your searchable attributes.
73
+
description: |
74
+
Restricts a search to a subset of your searchable attributes.
75
+
Attribute names are case-sensitive.
73
76
default: []
74
77
x-categories:
75
78
- Filtering
@@ -132,7 +135,7 @@ baseSearchParamsWithoutQuery:
132
135
naturalLanguages:
133
136
type: array
134
137
items:
135
-
type: string
138
+
$ref: './IndexSettings.yml#/supportedLanguage'
136
139
description: |
137
140
ISO language codes that adjust settings that are useful for processing natural language queries (as opposed to keyword searches):
138
141
@@ -335,9 +338,9 @@ insideBoundingBox:
335
338
type: array
336
339
items:
337
340
type: array
341
+
minItems: 4
342
+
maxItems: 4
338
343
items:
339
-
minItems: 4
340
-
maxItems: 4
341
344
type: number
342
345
format: double
343
346
description: |
@@ -357,9 +360,9 @@ insidePolygon:
357
360
type: array
358
361
items:
359
362
type: array
363
+
minItems: 6
364
+
maxItems: 20000
360
365
items:
361
-
minItems: 6
362
-
maxItems: 20000
363
366
type: number
364
367
format: double
365
368
description: |
@@ -368,7 +371,7 @@ insidePolygon:
368
371
Polygons are defined by 3 to 10,000 points. Each point is represented by its latitude and longitude.
369
372
Provide multiple polygons as nested arrays.
370
373
For more information, see [filtering inside polygons](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filtering-inside-rectangular-or-polygonal-areas).
371
-
This parameter is ignored, if you also specify `insideBoundingBox`.
374
+
This parameter is ignored if you also specify `insideBoundingBox`.
0 commit comments