Skip to content

Commit f21edcc

Browse files
docs(README): automatic update
Update README Python [This list might not be relevant] Multiple languages support for ignorePlurals (#140) * Multiple languages support by ignorePlurals [ci skip]
1 parent 48036bc commit f21edcc

File tree

1 file changed

+23
-4
lines changed

1 file changed

+23
-4
lines changed

README.md

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1358,11 +1358,30 @@ If set to false, disables typo tolerance on numeric tokens (numbers).
13581358
#### ignorePlurals
13591359

13601360
- scope: `settings`, `search`
1361-
- type: `boolean`
1361+
- type: `boolean`, `array of strings`
13621362
- default: `false`
13631363

13641364

1365-
If set to true, plural won't be considered as a typo. For example, car and cars, or foot and feet will be considered as equivalent. Defaults to false.
1365+
Consider singular and plurals forms a match without typo. For example, car and
1366+
cars, or foot and feet will be considered equivalent. This parameter can be:
1367+
1368+
- a **boolean**: enable or disable plurals for all 59 supported languages.
1369+
- a **list of language ISO codes** for which plurals should be enabled.
1370+
1371+
This option is set to `false` by default.
1372+
1373+
Afrikaans=`af`, Arabic=`ar`, Azeri=`az`, Bulgarian=`bg`, Catalan=`ca`,
1374+
Czech=`cs`, Welsh=`cy`, Danis=`da`, German=`de`, English=`en`,
1375+
Esperanto=`eo`, Spanish=`es`, Estonian=`et`, Basque=`eu`, Finnish=`fi`,
1376+
Faroese=`fo`, French=`fr`, Galician=`gl`, Hebrew=`he`, Hindi=`hi`,
1377+
Hungarian=`hu`, Armenian=`hy`, Indonesian=`id`, Icelandic=`is`, Italian=`it`,
1378+
Japanese=`ja`, Georgian=`ka`, Kazakh=`kk`, Korean=`ko`, Kyrgyz=`ky`,
1379+
Lithuanian=`lt`, Maori=`mi`, Mongolian=`mn`, Marathi=`mr`, Malay=`ms`,
1380+
Maltese=`mt`, Norwegian=`nb`, Dutch=`nl`, Northern Sotho=`ns`, Polish=`pl`,
1381+
Pashto=`ps`, Portuguese=`pt`, Quechua=`qu`, Romanian=`ro`, Russian=`ru`,
1382+
Slovak=`sk`, Albanian=`sq`, Swedish=`sv`, Swahili=`sw`, Tamil=`ta`,
1383+
Telugu=`te`, Tagalog=`tl`, Tswana=`tn`, Turkish=`tr`, Tatar=`tt`,
1384+
Ukrainian=`uk`, Urdu=`ur`, Uzbek=`uz`, Chinese=`zh`
13661385

13671386
#### disableTypoToleranceOnAttributes
13681387

@@ -2052,7 +2071,7 @@ allow the person who has it to query/change/delete data*
20522071
The *Admin API Key* and *Search-Only API Key* both have really large scope and sometimes you want to give a key to
20532072
someone that have restricted permissions, can it be an index, a rate limit, a validity limit, ...
20542073

2055-
To address those use-cases we have two differents type of keys:
2074+
To address those use-cases we have two different type of keys:
20562075

20572076
- **Secured API Keys**
20582077

@@ -2297,7 +2316,7 @@ You may want to perform multiple operations with one API call to reduce latency.
22972316

22982317

22992318

2300-
If you have one index per user, you may want to perform a batch operations across severals indexes.
2319+
If you have one index per user, you may want to perform a batch operations across several indices.
23012320
We expose a method to perform this type of batch:
23022321

23032322
```python

0 commit comments

Comments
 (0)