Skip to content
This repository was archived by the owner on Jan 31, 2022. It is now read-only.

Commit bcbb20a

Browse files
algoliareadmebotPLNech
authored andcommitted
docs(README): automatic update (#123)
Update README Android [This list might not be relevant] add performance warning in setSettings cosmetic again cosmetic [ci skip]
1 parent bbbee01 commit bcbb20a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -701,6 +701,10 @@ index.getSettingsAsync(new CompletionHandler() {
701701
index.setSettingsAsync(new JSONObject().append("customRanking", "desc(followers)"), null);
702702
```
703703
704+
**Warning**
705+
706+
Performance wise, it's better to do a `setSettingsAsync` before pushing the data
707+
704708
#### Slave settings
705709

706710
You can forward all settings updates to the slaves of an index by using the `forwardToSlaves` option:

0 commit comments

Comments
 (0)