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

Commit 8bb533a

Browse files
algolia-botPLNech
authored andcommitted
Update README [skip ci] (#561)
The README is generated automatically from Algolia's documentation.
1 parent ac0b75b commit 8bb533a

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,11 @@ Index index = client.getIndex("your_index_name");
9090
You should instead consider [fetching the key from your servers](https://www.algolia.com/doc/guides/security/best-security-practices/#api-keys-in-mobile-applications)
9191
during the app's startup.
9292

93+
9394
### Kotlin support
9495

95-
Even though the Android client is written in Java, you can use it in a Kotlin project. Check out our [Android demo (`kotlin`
96-
branch)](https://github.com/algolia/algolia-android-demo/tree/kotlin) to see an example.
96+
Even though the Android client is written in Java, you can use it in a Kotlin project. Check out our [Android demo (`kotlin` branch)](https://github.com/algolia/algolia-android-demo/tree/kotlin) to see an example.
97+
9798

9899
## Push data
99100

@@ -129,9 +130,9 @@ In this case, the order of attributes is very important to decide which hit is t
129130

130131
```java
131132
JSONObject settings = new JSONObject()
132-
.append("searchableAttributes", "lastname")
133-
.append("searchableAttributes", "firstname")
134-
.append("searchableAttributes", "company");
133+
.put("searchableAttributes", "lastname")
134+
.put("searchableAttributes", "firstname")
135+
.put("searchableAttributes", "company");
135136
index.setSettingsAsync(settings, null);
136137
```
137138

@@ -165,6 +166,12 @@ index.searchAsync(new Query("jimmie paint"), completionHandler);
165166

166167

167168

169+
### Personalization
170+
171+
172+
173+
174+
168175
### Search
169176

170177
- [Search index](https://algolia.com/doc/api-reference/api-methods/search/?language=android)

0 commit comments

Comments
 (0)