Skip to content

Commit 2c36837

Browse files
Update code samples [skip ci]
1 parent 7110d42 commit 2c36837

File tree

4 files changed

+29
-0
lines changed

4 files changed

+29
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<CodeGroup>
2+
3+
```bash cURL
4+
curl \
5+
-X GET 'MEILISEARCH_URL/indexes/INDEX_UID/settings/vector-store'
6+
```
7+
</CodeGroup>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<CodeGroup>
2+
3+
```bash cURL
4+
curl \
5+
-X DELETE 'MEILISEARCH_URL/indexes/INDEX_UID/settings/vector-store'
6+
```
7+
</CodeGroup>

snippets/samples/code_samples_typo_tolerance_guide_5.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ $client->index('movies')->updateTypoTolerance([
2727
]);
2828
```
2929

30+
```java Java
31+
TypoTolerance typoTolerance = new TypoTolerance();
32+
typoTolerance.setDisableOnNumbers(true);
33+
client.index("movies").updateTypoToleranceSettings(typoTolerance);
34+
```
35+
3036
```ruby Ruby
3137
index('books').update_typo_tolerance({ disable_on_numbers: true })
3238
```
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<CodeGroup>
2+
3+
```bash cURL
4+
curl \
5+
-X PUT 'MEILISEARCH_URL/indexes/INDEX_UID/settings/vector-store' \
6+
-H 'Content-Type: application/json' \
7+
--data-binary '"experimental"'
8+
```
9+
</CodeGroup>

0 commit comments

Comments
 (0)