Skip to content

Commit 34c6992

Browse files
guimachiavellimacraigMubelotixKerollmopsdureuill
authored
v1.16 (#3311)
* bump version number * v1.16: Telemetry updates (#3325) * v1.16: Experimental: Disable new indexer (#3313) * v1.16: Bump Docker image tag version (#3323) * v1.16: Add `sort` parameter to `/documents` route (#3318) * v1.16: `rankingScoreThreshold` no longer affects `totalHits` accuracy (#3322) * V1.16: Update `/batches` response (#3314) * v1.16: Update Postman collection (#3324) * v1.15.1: `/chat` route docs review (#3316) * fix /network route component * v1.16: `/export` route (#3315) * v1.16: Multimodal search (#3312) --------- Co-authored-by: macraig <[email protected]> Co-authored-by: Mubelotix <[email protected]> Co-authored-by: Clément Renault <[email protected]> Co-authored-by: Louis Dureuil <[email protected]>
1 parent d61dd15 commit 34c6992

21 files changed

+953
-633
lines changed

.code-samples.meilisearch.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1467,6 +1467,18 @@ related_results_similar_1: |-
14671467
"id": 192,
14681468
"embedder": "EMBEDDER_NAME"
14691469
}'
1470+
export_post_1: |-
1471+
curl \
1472+
-X POST 'MEILISEARCH_URL/export' \
1473+
-H 'Content-Type: application/json' \
1474+
--data-binary '{
1475+
"url": "TARGET_INSTANCE_URL",
1476+
"indexes": {
1477+
"*": {
1478+
"overrideSettings": true
1479+
}
1480+
}
1481+
}'
14701482
14711483
### Code samples for experimental features
14721484
experimental_get_metrics_1: |-
@@ -1533,3 +1545,19 @@ update_network_1: |-
15331545
}
15341546
}
15351547
}'
1548+
search_parameter_reference_media_1: |-
1549+
curl \
1550+
-X POST 'MEILISEARCH_URL/indexes/INDEX_NAME/search' \
1551+
-H 'Content-Type: application/json' \
1552+
--data-binary '{
1553+
"hybrid": {
1554+
"embedder": "EMBEDDER_NAME"
1555+
},
1556+
"media": {
1557+
"FIELD_A": "VALUE_A",
1558+
"FIELD_B" : {
1559+
"FIELD_C": "VALUE_B"
1560+
"FIELD_D": "VALUE_C"
1561+
}
1562+
}
1563+
}'

assets/misc/meilisearch-collection-postman.json

Lines changed: 61 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"info": {
3-
"_postman_id": "b321d331-d809-4909-8e49-e29c8d749d32",
4-
"name": "Meilisearch v1.15",
3+
"_postman_id": "f4b62ec3-0403-44ba-b6f4-640badbbd1b2",
4+
"name": "Meilisearch v1.16",
55
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
66
"_exporter_id": "25294324"
77
},
@@ -106,6 +106,11 @@
106106
"key": "ids",
107107
"value": "1,2",
108108
"disabled": true
109+
},
110+
{
111+
"key": "sort",
112+
"value": "\"price\"",
113+
"disabled": true
109114
}
110115
]
111116
}
@@ -3159,6 +3164,60 @@
31593164
}
31603165
]
31613166
},
3167+
{
3168+
"name": "Export",
3169+
"item": [
3170+
{
3171+
"name": "Migrate data to a remote instance",
3172+
"protocolProfileBehavior": {
3173+
"disabledSystemHeaders": {}
3174+
},
3175+
"request": {
3176+
"method": "POST",
3177+
"header": [],
3178+
"body": {
3179+
"mode": "raw",
3180+
"raw": "{\n \"url\": \"TARGET_INSTANCE_URL\",\n \"indexes\": {\n \"*\": {\n \"overrideSettings\": true\n }\n }\n}",
3181+
"options": {
3182+
"raw": {
3183+
"language": "json"
3184+
}
3185+
}
3186+
},
3187+
"url": {
3188+
"raw": "{{url}}/export",
3189+
"host": [
3190+
"{{url}}"
3191+
],
3192+
"path": [
3193+
"export"
3194+
]
3195+
}
3196+
},
3197+
"response": []
3198+
}
3199+
],
3200+
"event": [
3201+
{
3202+
"listen": "prerequest",
3203+
"script": {
3204+
"type": "text/javascript",
3205+
"exec": [
3206+
""
3207+
]
3208+
}
3209+
},
3210+
{
3211+
"listen": "test",
3212+
"script": {
3213+
"type": "text/javascript",
3214+
"exec": [
3215+
""
3216+
]
3217+
}
3218+
}
3219+
]
3220+
},
31623221
{
31633222
"name": "Snapshots",
31643223
"item": [

docs.json

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
"navigation": {
144144
"versions": [
145145
{
146-
"version": "v1.15",
146+
"version": "v1.16",
147147
"anchors": [
148148
{
149149
"anchor": "Learn",
@@ -165,7 +165,6 @@
165165
"group": "AI-powered search",
166166
"pages": [
167167
"learn/ai_powered_search/getting_started_with_ai_search",
168-
"learn/ai_powered_search/conversational_search_with_chat",
169168
"learn/ai_powered_search/configure_rest_embedder",
170169
"learn/ai_powered_search/document_template_best_practices",
171170
"learn/ai_powered_search/image_search_with_user_provided_embeddings",
@@ -175,6 +174,14 @@
175174
"learn/ai_powered_search/difference_full_text_ai_search"
176175
]
177176
},
177+
{
178+
"group": "Conversational search",
179+
"pages": [
180+
"learn/chat/getting_started_with_chat",
181+
"learn/chat/chat_tooling_reference",
182+
"learn/chat/conversational_search"
183+
]
184+
},
178185
{
179186
"group": "Self-hosted",
180187
"pages": [
@@ -342,7 +349,8 @@
342349
"reference/api/dump",
343350
"reference/api/experimental_features",
344351
"reference/api/metrics",
345-
"reference/api/logs"
352+
"reference/api/logs",
353+
"reference/api/export"
346354
]
347355
},
348356
{
@@ -945,6 +953,14 @@
945953
{
946954
"source": "/guides/deployment/gcp",
947955
"destination": "/guides/running_production"
956+
},
957+
{
958+
"source": "/guides/ai/getting_started_with_chat",
959+
"destination": "/learn/chat/getting_started_with_chat"
960+
},
961+
{
962+
"source": "learn/ai_powered_search/conversational_search_with_chat",
963+
"destination": "learn/chat/conversational_search"
948964
}
949965
]
950966
}

guides/docker.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Docker is a tool that bundles applications into containers. Docker containers en
1212
Docker containers are distributed in images. To use Meilisearch, use the `docker pull` command to download a Meilisearch image:
1313

1414
```sh
15-
docker pull getmeili/meilisearch:v1.15
15+
docker pull getmeili/meilisearch:v1.16
1616
```
1717

1818
Meilisearch deploys a new Docker image with every release of the engine. Each image is tagged with the corresponding Meilisearch version, indicated in the above example by the text following the `:` symbol. You can see [the full list of available Meilisearch Docker images](https://hub.docker.com/r/getmeili/meilisearch/tags#!) on Docker Hub.
@@ -29,7 +29,7 @@ After completing the previous step, use `docker run` to launch the Meilisearch i
2929
docker run -it --rm \
3030
-p 7700:7700 \
3131
-v $(pwd)/meili_data:/meili_data \
32-
getmeili/meilisearch:v1.15
32+
getmeili/meilisearch:v1.16
3333
```
3434

3535
### Configure Meilisearch
@@ -45,7 +45,7 @@ docker run -it --rm \
4545
-p 7700:7700 \
4646
-e MEILI_MASTER_KEY='MASTER_KEY'\
4747
-v $(pwd)/meili_data:/meili_data \
48-
getmeili/meilisearch:v1.15
48+
getmeili/meilisearch:v1.16
4949
```
5050

5151
#### Passing instance options with CLI arguments
@@ -56,7 +56,7 @@ If you want to pass command-line arguments to Meilisearch with Docker, you must
5656
docker run -it --rm \
5757
-p 7700:7700 \
5858
-v $(pwd)/meili_data:/meili_data \
59-
getmeili/meilisearch:v1.15 \
59+
getmeili/meilisearch:v1.16 \
6060
meilisearch --master-key="MASTER_KEY"
6161
```
6262

@@ -74,7 +74,7 @@ To keep your data intact between reboots, specify a dedicated volume by running
7474
docker run -it --rm \
7575
-p 7700:7700 \
7676
-v $(pwd)/meili_data:/meili_data \
77-
getmeili/meilisearch:v1.15
77+
getmeili/meilisearch:v1.16
7878
```
7979

8080
The example above uses `$(pwd)/meili_data`, which is a directory in the host machine. Depending on your OS, mounting volumes from the host to the container might result in performance loss and is only recommended when developing your application.
@@ -89,7 +89,7 @@ To import a dump, use Meilisearch's `--import-dump` command-line option and spec
8989
docker run -it --rm \
9090
-p 7700:7700 \
9191
-v $(pwd)/meili_data:/meili_data \
92-
getmeili/meilisearch:v1.15 \
92+
getmeili/meilisearch:v1.16 \
9393
meilisearch --import-dump /meili_data/dumps/20200813-042312213.dump
9494
```
9595

@@ -109,7 +109,7 @@ To generate a Meilisearch snapshot with Docker, launch Meilisearch with `--sched
109109
docker run -it --rm \
110110
-p 7700:7700 \
111111
-v $(pwd)/meili_data:/meili_data \
112-
getmeili/meilisearch:v1.15 \
112+
getmeili/meilisearch:v1.16 \
113113
meilisearch --schedule-snapshot --snapshot-dir /meili_data/snapshots
114114
```
115115

@@ -121,7 +121,7 @@ To import a snapshot, launch Meilisearch with the `--import-snapshot` option:
121121
docker run -it --rm \
122122
-p 7700:7700 \
123123
-v $(pwd)/meili_data:/meili_data \
124-
getmeili/meilisearch:v1.15 \
124+
getmeili/meilisearch:v1.16 \
125125
meilisearch --import-snapshot /meili_data/snapshots/data.ms.snapshot
126126
```
127127

0 commit comments

Comments
 (0)