Skip to content

Commit 48f4bdd

Browse files
v1.16: Telemetry updates (#3325)
--------- Co-authored-by: macraig <[email protected]>
1 parent 5d40145 commit 48f4bdd

17 files changed

+51
-14
lines changed

learn/resources/telemetry.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,8 @@ This list is liable to change with every new version of Meilisearch. It's not be
225225
| `infos.experimental_edit_documents_by_function` | `true` if the `editDocumentsByFunction` experimental feature is enabled | false
226226
| `infos.experimental_enable_metrics` | `true` if `--experimental-enable-metrics` is specified at launch | false
227227
| `infos.experimental_embedding_cache_entries` | Size of configured embedding cache | 100
228+
| `infos.experimental_multimodal` | `true` when multimodal search feature is enabled | true |
229+
| `infos.experimental_no_edition_2024_for_settings` | `true` if instance disabled new indexer | false
228230
| `infos.experimental_replication_parameters` | `true` if `--experimental-replication-parameters` is specified at launch | false
229231
| `infos.experimental_reduce_indexing_memory_usage` | `true` if `--experimental-reduce-indexing-memory-usage` is specified at launch | false
230232
| `infos.experimental_logs_mode` | `human` or `json` depending on the value specified | human
@@ -248,6 +250,7 @@ This list is liable to change with every new version of Meilisearch. It's not be
248250
| `vector.retrieve_vectors` | `true` if the retrieve_vectors parameter has been used in this batch. | false
249251
| `hybrid.enabled` | `true` if hybrid search been used in the aggregated event | true
250252
| `hybrid.semantic_ratio` | `true` if semanticRatio was used in this batch, otherwise false | false
253+
| `hybrid.total_media` | Aggregated number of search requests where `media` is not `null` | 42
251254
| `embedders.total` | Numbers of defined embedders | 2
252255
| `embedders.sources` | An array representing the different provided sources | ["huggingFace", "userProvided"]
253256
| `embedders.document_template_used` | A boolean indicating if one of the provided embedders has a custom template defined | true
@@ -264,3 +267,9 @@ This list is liable to change with every new version of Meilisearch. It's not be
264267
| `experimental_network` | `true` when the network experimental feature is enabled | true
265268
| `remotes.total_distinct_remote_count` | Sum of the number of distinct remotes appearing in each search request of the aggregate | 48
266269
| `remotes.avg_distinct_remote_count` | Average number of distinct remotes appearing in a search request of the aggregate | 2.33
270+
| `multimodal` | `true` when multimodal search is enabled via the `/experimental-features` route | true
271+
| `export.total_received` | Number of exports received in this batch | `152`
272+
| `export.has_api_key` | Number of exports with an API Key set | `89`
273+
| `export.avg_index_patterns` | Average number of index patterns set per export | `3.2`
274+
| `export.avg_patterns_with_filter` | Average number of index patterns with filters per export | `1.7`
275+
| `export.avg_payload_size` | Average payload size per export | `512`

snippets/samples/code_samples_add_movies_json_1.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ file, _ := os.ReadFile("movies.json")
5959
var movies interface{}
6060
json.Unmarshal([]byte(file), &movies)
6161

62-
client.Index("movies").AddDocuments(&movies)
62+
client.Index("movies").AddDocuments(&movies, nil)
6363
```
6464

6565
```csharp C#

snippets/samples/code_samples_add_or_replace_documents_1.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ documents := []map[string]interface{}{
8080
"release_date": "2019-03-23",
8181
},
8282
}
83-
client.Index("movies").AddDocuments(documents)
83+
client.Index("movies").AddDocuments(documents, nil)
8484
```
8585

8686
```csharp C#

snippets/samples/code_samples_add_or_update_documents_1.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ documents := []map[string]interface{}{
6666
"genres": "comedy",
6767
},
6868
}
69-
client.Index("movies").UpdateDocuments(documents)
69+
client.Index("movies").UpdateDocuments(documents, nil)
7070
```
7171

7272
```csharp C#

snippets/samples/code_samples_date_guide_filterable_attributes_1.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ client.index('games').update_filterable_attributes(['release_timestamp'])
3030
```
3131

3232
```go Go
33-
filterableAttributes := []string{"release_timestamp"}
33+
filterableAttributes := []interface{}{"release_timestamp"}
3434
client.Index("games").UpdateFilterableAttributes(&filterableAttributes)
3535
```
3636

snippets/samples/code_samples_date_guide_index_1.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ byteValue, _ := io.ReadAll(jsonFile)
5454
var games []map[string]interface{}
5555
json.Unmarshal(byteValue, &games)
5656

57-
client.Index("games").AddDocuments(games)
57+
client.Index("games").AddDocuments(games, nil)
5858
```
5959

6060
```csharp C#

snippets/samples/code_samples_distinct_attribute_guide_filterable_1.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ client.index('products').update_filterable_attributes([
3838
```
3939

4040
```go Go
41-
filterableAttributes := []string{
41+
filterableAttributes := []interface{}{
4242
"product_id",
4343
"sku",
4444
"url",

snippets/samples/code_samples_facet_search_3.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ client.index('books').facet_search('genres', 'c')
4242
client.Index("books").FacetSearch(&meilisearch.FacetSearchRequest{
4343
FacetQuery: "c",
4444
FacetName: "genres",
45+
ExhaustiveFacetCount: true
4546
})
4647
```
4748

snippets/samples/code_samples_faceted_search_update_settings_1.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ client.index('movie_ratings').update_filterable_attributes(['genres', 'rating',
3434
```
3535

3636
```go Go
37-
filterableAttributes := []string{
37+
filterableAttributes := []interface{}{
3838
"genres",
3939
"rating",
4040
"language",

snippets/samples/code_samples_filtering_update_settings_1.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ client.index('movies').update_filterable_attributes([
4747
```
4848

4949
```go Go
50-
resp, err := client.Index("movies").UpdateFilterableAttributes(&[]string{
50+
resp, err := client.Index("movies").UpdateFilterableAttributes(&[]interface{}{
5151
"director",
5252
"genres",
5353
})

0 commit comments

Comments
 (0)