Skip to content

Commit 068849a

Browse files
Fix postman collection link (#3242)
* fix postman collection link * Update code samples [skip ci] --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 3214f59 commit 068849a

7 files changed

+25
-1
lines changed

guides/postman_collection.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ If you don't have Postman already, you can [download it here](https://www.postma
1111

1212
## Import the collection
1313

14-
Once you have downloaded the [Postman collection](/assets/misc/meilisearch-collection-postman.json), you need to import it into Postman.
14+
Once you have downloaded the <a href="/assets/misc/meilisearch-collection-postman.json" download="meilisearch-collection-postman.json">Postman collection</a>, you need to import it into Postman.
1515

1616
<Frame>
1717
<img src="/assets/images/postman/import.png" alt="The 'Import' button" />

snippets/samples/code_samples_get_facet_search_settings_1.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,8 @@ $client->index('INDEX_NAME')->getFacetSearch();
1616
```ruby Ruby
1717
client.index('INDEX_UID').facet_search_setting
1818
```
19+
20+
```go Go
21+
client.Index("books").GetFacetSearch()
22+
```
1923
</CodeGroup>

snippets/samples/code_samples_get_prefix_search_settings_1.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,8 @@ $client->index('INDEX_NAME')->getPrefixSearch();
1616
```ruby Ruby
1717
client.index('INDEX_UID').prefix_search
1818
```
19+
20+
```go Go
21+
client.Index("books").GetPrefixSearch()
22+
```
1923
</CodeGroup>

snippets/samples/code_samples_reset_facet_search_settings_1.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,8 @@ $client->index('INDEX_NAME')->resetFacetSearch();
1616
```ruby Ruby
1717
client.index('INDEX_UID').reset_facet_search_setting
1818
```
19+
20+
```go Go
21+
client.Index("books").ResetFacetSearch()
22+
```
1923
</CodeGroup>

snippets/samples/code_samples_reset_prefix_search_settings_1.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,8 @@ $client->index('INDEX_NAME')->resetPrefixSearch();
1616
```ruby Ruby
1717
client.index('INDEX_UID').reset_prefix_search
1818
```
19+
20+
```go Go
21+
client.Index("books").ResetPrefixSearch()
22+
```
1923
</CodeGroup>

snippets/samples/code_samples_update_facet_search_settings_1.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,8 @@ $client->index('INDEX_NAME')->updateFacetSearch(false);
1818
```ruby Ruby
1919
client.index('INDEX_UID').update_facet_search_setting(false)
2020
```
21+
22+
```go Go
23+
client.Index("books").UpdateFacetSearch(false)
24+
```
2125
</CodeGroup>

snippets/samples/code_samples_update_prefix_search_settings_1.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,8 @@ $client->index('INDEX_NAME')->updatePrefixSearch('disabled');
1818
```ruby Ruby
1919
client.index('INDEX_UID').update_prefix_search('disabled')
2020
```
21+
22+
```go Go
23+
client.Index("books").UpdatePrefixSearch("disabled")
24+
```
2125
</CodeGroup>

0 commit comments

Comments
 (0)