Skip to content
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

v1.12 #3068

Merged
merged 7 commits into from
Dec 23, 2024
Merged

v1.12 #3068

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 @@ -1201,6 +1201,28 @@ update_proximity_precision_settings_1: |-
reset_proximity_precision_settings_1: |-
curl \
-X DELETE 'http://localhost:7700/indexes/books/settings/proximity-precision'
get_facet_search_settings_1: |-
curl \
-X GET 'http://localhost:7700/indexes/INDEX_UID/settings/facet-search'
update_facet_search_settings_1: |-
curl \
-X PUT 'http://localhost:7700/indexes/INDEX_UID/settings/facet-search' \
-H 'Content-Type: application/json' \
--data-binary 'false'
reset_facet_search_settings_1: |-
curl \
-X DELETE 'http://localhost:7700/indexes/INDEX_UID/settings/facet-search'
get_prefix_search_settings_1: |-
curl \
-X GET 'http://localhost:7700/indexes/INDEX_UID/settings/prefix-search'
update_prefix_search_settings_1: |-
curl \
-X PUT 'http://localhost:7700/indexes/INDEX_UID/settings/prefix-search' \
-H 'Content-Type: application/json' \
--data-binary '"disabled"'
reset_prefix_search_settings_1: |-
curl \
-X DELETE 'http://localhost:7700/indexes/INDEX_UID/settings/prefix-search'
index_settings_tutorial_api_get_setting_1: |-
curl \
-X GET 'http://localhost:7700/indexes/INDEX_NAME/settings/searchable-attributes'
Expand Down Expand Up @@ -1348,6 +1370,12 @@ update_localized_attribute_settings_1: |-
reset_localized_attribute_settings_1: |-
curl \
-X DELETE 'http://localhost:7700/indexes/INDEX_NAME/settings/localized-attributes'
get_all_batches_1: |-
curl \
-X GET 'http://localhost:7700/batches'
get_batch_1: |-
curl \
-X GET 'http://localhost:7700/batches/BATCH_UID'

### Code samples for experimental features
get_embedders_1: |-
Expand Down
288 changes: 280 additions & 8 deletions assets/misc/meilisearch-collection-postman.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"info": {
"_postman_id": "cc6bb097-033d-4f65-8704-f10e4e4b10d0",
"name": "Meilisearch v1.11",
"name": "Meilisearch v1.12",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "25294324"
},
Expand Down Expand Up @@ -652,6 +652,11 @@
"value": "3",
"disabled": true
},
{
"key": "batchUids",
"value": "0",
"disabled": true
},
{
"key": "indexUids",
"value": "books",
Expand All @@ -669,37 +674,37 @@
},
{
"key": "beforeEnqueuedAt",
"value": null,
"value": "",
"disabled": true
},
{
"key": "afterEnqueuedAt",
"value": null,
"value": "",
"disabled": true
},
{
"key": "beforeStartedAt",
"value": null,
"value": "",
"disabled": true
},
{
"key": "afterStartedAt",
"value": null,
"value": "",
"disabled": true
},
{
"key": "beforeFinishedAt",
"value": null,
"value": "",
"disabled": true
},
{
"key": "afterFinishedAt",
"value": null,
"value": "",
"disabled": true
},
{
"key": "canceledBy",
"value": null,
"value": "",
"disabled": true
},
{
Expand All @@ -711,6 +716,11 @@
"key": "from",
"value": "10",
"disabled": true
},
{
"key": "reverse",
"value": "true",
"disabled": true
}
]
}
Expand Down Expand Up @@ -888,6 +898,118 @@
}
]
},
{
"name": "Batches",
"item": [
{
"name": "Get one batch",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{url}}/batches/0",
"host": [
"{{url}}"
],
"path": [
"batches",
"0"
]
}
},
"response": []
},
{
"name": "Get all batches",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{url}}/batches",
"host": [
"{{url}}"
],
"path": [
"batches"
],
"query": [
{
"key": "uids",
"value": "3",
"disabled": true
},
{
"key": "batchUids",
"value": "0,1",
"disabled": true
},
{
"key": "indexUids",
"value": "books",
"disabled": true
},
{
"key": "types",
"value": "documentAdditionOrUpdate",
"disabled": true
},
{
"key": "statuses",
"value": "failed",
"disabled": true
},
{
"key": "beforeEnqueuedAt",
"value": "",
"disabled": true
},
{
"key": "afterEnqueuedAt",
"value": "",
"disabled": true
},
{
"key": "beforeStartedAt",
"value": "",
"disabled": true
},
{
"key": "afterStartedAt",
"value": "",
"disabled": true
},
{
"key": "beforeFinishedAt",
"value": "",
"disabled": true
},
{
"key": "afterFinishedAt",
"value": "",
"disabled": true
},
{
"key": "limit",
"value": "2",
"disabled": true
},
{
"key": "from",
"value": "10",
"disabled": true
},
{
"key": "reverse",
"value": "true",
"disabled": true
}
]
}
},
"response": []
}
]
},
{
"name": "Indexes",
"item": [
Expand Down Expand Up @@ -2384,6 +2506,156 @@
},
"response": []
},
{
"name": "Get facet search",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{url}}/indexes/{{indexUID}}/settings/facet-search",
"host": [
"{{url}}"
],
"path": [
"indexes",
"{{indexUID}}",
"settings",
"facet-search"
]
}
},
"response": []
},
{
"name": "Update facet search",
"protocolProfileBehavior": {
"disabledSystemHeaders": {
"content-type": true
}
},
"request": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "false"
},
"url": {
"raw": "{{url}}/indexes/{{indexUID}}/settings/facet-search",
"host": [
"{{url}}"
],
"path": [
"indexes",
"{{indexUID}}",
"settings",
"facet-search"
]
}
},
"response": []
},
{
"name": "Reset facet search",
"request": {
"method": "DELETE",
"header": [],
"url": {
"raw": "{{url}}/indexes/{{indexUID}}/settings/facet-search",
"host": [
"{{url}}"
],
"path": [
"indexes",
"{{indexUID}}",
"settings",
"facet-search"
]
}
},
"response": []
},
{
"name": "Get prefix search",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{url}}/indexes/{{indexUID}}/settings/prefix-search",
"host": [
"{{url}}"
],
"path": [
"indexes",
"{{indexUID}}",
"settings",
"prefix-search"
]
}
},
"response": []
},
{
"name": "Update prefix search",
"protocolProfileBehavior": {
"disabledSystemHeaders": {
"content-type": true
}
},
"request": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "\"disabled\""
},
"url": {
"raw": "{{url}}/indexes/{{indexUID}}/settings/prefix-search",
"host": [
"{{url}}"
],
"path": [
"indexes",
"{{indexUID}}",
"settings",
"prefix-search"
]
}
},
"response": []
},
{
"name": "Reset prefix search",
"request": {
"method": "DELETE",
"header": [],
"url": {
"raw": "{{url}}/indexes/{{indexUID}}/settings/prefix-search",
"host": [
"{{url}}"
],
"path": [
"indexes",
"{{indexUID}}",
"settings",
"prefix-search"
]
}
},
"response": []
},
{
"name": "Get search cutoff",
"request": {
Expand Down
Loading
Loading