Skip to content

v1.16 #3311

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
Open

v1.16 #3311

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .code-samples.meilisearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1467,6 +1467,18 @@ related_results_similar_1: |-
"id": 192,
"embedder": "EMBEDDER_NAME"
}'
export_post_1: |-
curl \
-X POST 'MEILISEARCH_URL/export' \
-H 'Content-Type: application/json' \
--data-binary '{
"url": "TARGET_INSTANCE_URL",
"indexes": {
"*": {
"overrideSettings": true
}
}
}'

### Code samples for experimental features
experimental_get_metrics_1: |-
Expand Down Expand Up @@ -1533,3 +1545,19 @@ update_network_1: |-
}
}
}'
search_parameter_reference_media_1: |-
curl \
-X POST 'MEILISEARCH_URL/indexes/INDEX_NAME/search' \
-H 'Content-Type: application/json' \
--data-binary '{
"hybrid": {
"embedder": "EMBEDDER_NAME"
},
"media": {
"FIELD_A": "VALUE_A",
"FIELD_B" : {
"FIELD_C": "VALUE_B"
"FIELD_D": "VALUE_C"
}
}
}'
63 changes: 61 additions & 2 deletions assets/misc/meilisearch-collection-postman.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"info": {
"_postman_id": "b321d331-d809-4909-8e49-e29c8d749d32",
"name": "Meilisearch v1.15",
"_postman_id": "f4b62ec3-0403-44ba-b6f4-640badbbd1b2",
"name": "Meilisearch v1.16",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "25294324"
},
Expand Down Expand Up @@ -106,6 +106,11 @@
"key": "ids",
"value": "1,2",
"disabled": true
},
{
"key": "sort",
"value": "\"price\"",
"disabled": true
}
]
}
Expand Down Expand Up @@ -3159,6 +3164,60 @@
}
]
},
{
"name": "Export",
"item": [
{
"name": "Migrate data to a remote instance",
"protocolProfileBehavior": {
"disabledSystemHeaders": {}
},
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"url\": \"TARGET_INSTANCE_URL\",\n \"indexes\": {\n \"*\": {\n \"overrideSettings\": true\n }\n }\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{url}}/export",
"host": [
"{{url}}"
],
"path": [
"export"
]
}
},
"response": []
}
],
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
]
},
{
"name": "Snapshots",
"item": [
Expand Down
22 changes: 19 additions & 3 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
"navigation": {
"versions": [
{
"version": "v1.15",
"version": "v1.16",
"anchors": [
{
"anchor": "Learn",
Expand All @@ -165,7 +165,6 @@
"group": "AI-powered search",
"pages": [
"learn/ai_powered_search/getting_started_with_ai_search",
"learn/ai_powered_search/conversational_search_with_chat",
"learn/ai_powered_search/configure_rest_embedder",
"learn/ai_powered_search/document_template_best_practices",
"learn/ai_powered_search/image_search_with_user_provided_embeddings",
Expand All @@ -175,6 +174,14 @@
"learn/ai_powered_search/difference_full_text_ai_search"
]
},
{
"group": "Conversational search",
"pages": [
"learn/chat/getting_started_with_chat",
"learn/chat/chat_tooling_reference",
"learn/chat/conversational_search"
]
},
{
"group": "Self-hosted",
"pages": [
Expand Down Expand Up @@ -342,7 +349,8 @@
"reference/api/dump",
"reference/api/experimental_features",
"reference/api/metrics",
"reference/api/logs"
"reference/api/logs",
"reference/api/export"
]
},
{
Expand Down Expand Up @@ -945,6 +953,14 @@
{
"source": "/guides/deployment/gcp",
"destination": "/guides/running_production"
},
{
"source": "/guides/ai/getting_started_with_chat",
"destination": "/learn/chat/getting_started_with_chat"
},
{
"source": "learn/ai_powered_search/conversational_search_with_chat",
"destination": "learn/chat/conversational_search"
}
]
}
16 changes: 8 additions & 8 deletions guides/docker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Docker is a tool that bundles applications into containers. Docker containers en
Docker containers are distributed in images. To use Meilisearch, use the `docker pull` command to download a Meilisearch image:

```sh
docker pull getmeili/meilisearch:v1.15
docker pull getmeili/meilisearch:v1.16
```

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.
Expand All @@ -29,7 +29,7 @@ After completing the previous step, use `docker run` to launch the Meilisearch i
docker run -it --rm \
-p 7700:7700 \
-v $(pwd)/meili_data:/meili_data \
getmeili/meilisearch:v1.15
getmeili/meilisearch:v1.16
```

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

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

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

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.
Expand All @@ -89,7 +89,7 @@ To import a dump, use Meilisearch's `--import-dump` command-line option and spec
docker run -it --rm \
-p 7700:7700 \
-v $(pwd)/meili_data:/meili_data \
getmeili/meilisearch:v1.15 \
getmeili/meilisearch:v1.16 \
meilisearch --import-dump /meili_data/dumps/20200813-042312213.dump
```

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

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

Expand Down
Loading