Skip to content

Commit

Permalink
Merge #1972
Browse files Browse the repository at this point in the history
1972: v0.30 r=maryamsulemani97 a=maryamsulemani97

Staging branch for v0.30

For all v0.30 PRs, create child branches off this 

closes #1971, #1970, #1969, #1966, #1965, #1964, #1963, #1962, #1961, #1960, #1959, #1958, #1957, #1956, #2006, #2003, #2001, #1999, #1998, 

Co-authored-by: Maryam Sulemani <[email protected]>
Co-authored-by: Maryam <[email protected]>
  • Loading branch information
3 people authored Nov 28, 2022
2 parents 755d8f5 + 8c23a9e commit b853765
Show file tree
Hide file tree
Showing 32 changed files with 1,263 additions and 254 deletions.
65 changes: 59 additions & 6 deletions .code-samples.meilisearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,6 @@ get_all_tasks_1: |-
get_task_1: |-
curl \
-X GET 'http://localhost:7700/tasks/1'
get_all_tasks_filtering_1: |-
curl \
-X GET 'http://localhost:7700/tasks?indexUid=movies'
get_all_tasks_filtering_2: |-
curl \
-X GET 'http://localhost:7700/tasks?status=succeeded,failed&type=documentAdditionOrUpdate'
get_all_tasks_paginating_1: |-
curl \
-X GET 'http://localhost:7700/tasks?limit=2&from=10
Expand Down Expand Up @@ -389,6 +383,22 @@ search_parameter_guide_limit_1: |-
"q": "shifu",
"limit": 2
}'
search_parameter_guide_hitsperpage_1: |-
curl \
-X POST 'http://localhost:7700/indexes/movies/search' \
-H 'Content-Type: application/json' \
--data-binary '{
"q": "",
"hitsPerPage": 15
}'
search_parameter_guide_page_1: |-
curl \
-X POST 'http://localhost:7700/indexes/movies/search' \
-H 'Content-Type: application/json' \
--data-binary '{
"q": "",
"page": 2
}'
search_parameter_guide_retrieve_1: |-
curl \
-X POST 'http://localhost:7700/indexes/movies/search' \
Expand Down Expand Up @@ -1038,3 +1048,46 @@ date_guide_sort_1: |
"q": "",
"sort": ["release_timestamp:desc"]
}'
async_guide_filter_by_date_1: |
curl \
-X GET 'http://localhost:7700/tasks?afterEnqueuedAt=2020-10-11T11:49:53.000Z'
async_guide_multiple_filters_1: |
curl \
-X GET 'http://localhost:7700/tasks?indexUids=movies&types=documentAdditionOrUpdate,documentDeletion&statuses=processing'
async_guide_filter_by_ids_1: |
curl \
-X GET 'http://localhost:7700/tasks?uids=5,10,13'
async_guide_filter_by_statuses_1: |
curl \
-X GET 'http://localhost:7700/tasks?statuses=failed,canceled'
async_guide_filter_by_types_1: |
curl \
-X GET 'http://localhost:7700/tasks?types=dumpCreation,indexSwap'
async_guide_filter_by_index_uids_1: |
curl \
-X GET 'http://localhost:7700/tasks?indexUids=movies'
async_guide_canceled_by_1: |
curl \
-X GET 'http://localhost:7700/tasks?canceledBy=9,15'
delete_tasks_1: |
curl \
-X DELETE 'http://localhost:7700/tasks?uids=1,2'
cancel_tasks_1: |
curl \
-X POST 'http://localhost:7700/tasks/cancel?uids=1,2'
swap_indexes_1: |
curl \
-X POST 'http://localhost:7700/swap-indexes'\
-H 'Content-Type: application/json' \
--data-binary '[
{
"indexes":[
"indexA",
"indexB"
],
"indexes":[
"indexX",
"indexY"
]
}
]'
3 changes: 3 additions & 0 deletions .vale/styles/Vocab/word_list/accept.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,6 @@ UIs
JWTs
APIs
AMIs
[Cc]ancelation
Brotli
zlib
2 changes: 2 additions & 0 deletions .vale/styles/style_guide/British.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ swap:
labelled: labeled
programme: program
licence: license
cancelled: canceled
cancellation: cancelation
4 changes: 2 additions & 2 deletions .vuepress/config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const ogprefix = 'og: http://ogp.me/ns#'
module.exports = {
title: 'Meilisearch Documentation v0.29',
title: 'Meilisearch Documentation v0.30',
description: 'Open source Instant Search Engine',
theme: 'default-prefers-color-scheme',
themeConfig: {
Expand Down Expand Up @@ -341,7 +341,7 @@ module.exports = {
pattern: '**/*.md',
strictExt: true,
ignoreFilePattern: ['document_structure'],
ignoreHashPattern: ['actions-2', 'primary-key-2'],
ignoreHashPattern: ['actions-2', 'primary-key-2', 'query-parameters-2', 'query-parameters-3'],
exitLevel: 'warn',
},
],
Expand Down
Loading

0 comments on commit b853765

Please sign in to comment.