Skip to content

Commit 4eaf443

Browse files
docs(README): automatic update
Merge pull request #83 from algolia/docs/setSettings-forwardToSlaves docs(setSettings): add forwardToSlaves option Python snippet [This list might not be relevant] Merge pull request #83 from algolia/docs/setSettings-forwardToSlaves docs(setSettings): add forwardToSlaves option adding precision on EnableRemoveStopWords support to radius doc back to previous implementation no elseif in erb erb syntax fixing erb syntax Update radius documentation docs(setSettings): add forwardToSlaves option add snippet for JavaScript [ci skip]
1 parent 8d32cb1 commit 4eaf443

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1243,6 +1243,13 @@ print settings
12431243
index.set_settings({"customRanking": ["desc(followers)"]})
12441244
```
12451245

1246+
## Slave settings
1247+
1248+
You can forward all settings updates to the slaves of an index by using the `forwardToSlaves` option:
1249+
1250+
```python
1251+
index.set_settings({"customRanking": ["desc(followers)"]}, True)
1252+
```
12461253

12471254
## Indexing parameters
12481255

0 commit comments

Comments
 (0)