Skip to content

Commit afb2110

Browse files
authored
Merge branch 'main' into main
2 parents e9cbc09 + 8250329 commit afb2110

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

.code-samples.meilisearch.yaml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -357,12 +357,11 @@ search_parameter_guide_facet_stats_1: |-
357357
Facets = new string[] { "genres", "rating" }
358358
};
359359
await client.Index("movie_ratings").SearchAsync<Movie>("Batman", sq);
360-
getting_started_add_documents_md: |-
361-
```bash
362-
dotnet add package Meilisearch
363-
```
360+
getting_started_add_documents: |-
361+
// In the command line:
362+
// dotnet add package Meilisearch
364363
365-
```csharp
364+
// In your .cs file:
366365
using System.IO;
367366
using System.Text.Json;
368367
using Meilisearch;
@@ -398,12 +397,9 @@ getting_started_add_documents_md: |-
398397
}
399398
}
400399
}
401-
```
402-
[About this SDK](https://www.github.com/meilisearch/meilisearch-dotnet)
403400
getting_started_check_task_status: |-
404401
TaskInfo task = await client.GetTaskAsync(0);
405-
getting_started_search_md: |-
406-
```csharp
402+
getting_started_search: |-
407403
MeilisearchClient client = new MeilisearchClient("http://localhost:7700", "masterKey");
408404
var index = client.Index("movies");
409405
@@ -412,8 +408,6 @@ getting_started_search_md: |-
412408
{
413409
Console.WriteLine(movie.Title);
414410
}
415-
```
416-
[About this SDK](https://www.github.com/meilisearch/meilisearch-dotnet)
417411
getting_started_add_meteorites: |-
418412
MeilisearchClient client = new MeilisearchClient("http://localhost:7700", "masterKey");
419413
var options = new JsonSerializerOptions

0 commit comments

Comments
 (0)