This repository has been archived by the owner on Mar 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
🚨 Breaking API change detected: Added (1)
Modified (2)
|
macraig
approved these changes
May 8, 2023
4 tasks
@irevoire is that one ready for review? I see it in draft state |
Hey, not really. I'm waiting for #234 to be merged before rebasing this one |
We merge branches on the release day (https://github.com/meilisearch/specifications#release-worfklow) to avoid spanning multiple PRs for the same specification scope if changes need to occur until the release. What I've done in the past for that type of case is I rebase the last one to the parent one or mix changes relating to the same product scope under the same PR to avoid multiple rebase over-time 🥲 |
3 tasks
bidoubiwa
reviewed
May 15, 2023
81eedec
to
b2931c5
Compare
bidoubiwa
reviewed
May 16, 2023
Co-authored-by: cvermand <33010418+bidoubiwa@users.noreply.github.com>
2 tasks
gmourier
suggested changes
May 24, 2023
Co-authored-by: Guillaume Mourier <guillaume@meilisearch.com>
This was referenced May 24, 2023
Co-authored-by: Guillaume Mourier <guillaume@meilisearch.com>
meili-bors bot
added a commit
to meilisearch/meilisearch
that referenced
this pull request
May 24, 2023
3775: Last error code changes on the new get/delete documents routes r=dureuill a=irevoire # Pull Request ## Related issue Fixes #3774 ## What does this PR do? Following the specification: meilisearch/specifications#236 1. Get rid of the `invalid_document_delete_filter` and always use the `invalid_document_filter` 2. Introduce a new `missing_document_filter` instead of returning `invalid_document_delete_filter` (that’s consistent with all the other routes that have a mandatory parameter) 3. Always return the `original_filter` in the details (potentially set to `null`) instead of hiding it if it wasn’t used Co-authored-by: Tamo <tamo@meilisearch.com>
…e missing_document_filter
gmourier
approved these changes
May 29, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @irevoire 🚂
ahmednfwela
reviewed
May 30, 2023
ahmednfwela
reviewed
May 30, 2023
meili-bors bot
added a commit
to meilisearch/meilisearch-rust
that referenced
this pull request
May 31, 2023
472: Add delete_documents_with method for Meilisearch v1.2 r=bidoubiwa a=bidoubiwa following this spec: meilisearch/specifications#236 - Add a method `index.delete_documents_with` that lets you select a range of documents to delete based on the provided filters. Co-authored-by: meili-bot <74670311+meili-bot@users.noreply.github.com> Co-authored-by: Charlotte Vermandel <charlottevermandel@gmail.com> Co-authored-by: cvermand <33010418+bidoubiwa@users.noreply.github.com>
meili-bors bot
added a commit
to meilisearch/meilisearch-rust
that referenced
this pull request
May 31, 2023
472: Add delete_documents_with method for Meilisearch v1.2 r=bidoubiwa a=bidoubiwa following this spec: meilisearch/specifications#236 - Add a method `index.delete_documents_with` that lets you select a range of documents to delete based on the provided filters. Co-authored-by: meili-bot <74670311+meili-bot@users.noreply.github.com> Co-authored-by: Charlotte Vermandel <charlottevermandel@gmail.com> Co-authored-by: cvermand <33010418+bidoubiwa@users.noreply.github.com>
macraig
pushed a commit
that referenced
this pull request
Jun 5, 2023
* Bump OpenAPI version * CSV Content-Type — Add support for the boolean type in CSV (#228) * add support for the boolean type in csv * fix a typo * Update text/0028-indexing-csv.md --------- Co-authored-by: Guillaume Mourier <guillaume@meilisearch.com> * Filter operators - `IS NULL` and `IS EMPTY` filter operators (#232) * Introduce the spec of the IS EMPTY filter * Introduce the spec of the IS NULL filter * Fix suggestions * Uppercase the IN operator Co-authored-by: Guillaume Mourier <guillaume@meilisearch.com> * Fix a title number issue Co-authored-by: Guillaume Mourier <guillaume@meilisearch.com> --------- Co-authored-by: Guillaume Mourier <guillaume@meilisearch.com> * Search Algorithms Refactor: Relevancy Changes (#233) * Remove old exactness-criterion specification * Remove old asc-desc-criterion specification * Get and delete documents by filter (#236) * specify the new fetch documents route * update open-api * try to be nice with bumpsh * specify the new analytics of the get/fetch documents route * group the analytics behind already used groups * fix a placeholder text * group the get and fetch route under a common section * rename the section to contain the name of both routes * clarify how to send the parameter to both routes * fix the type of the parameters * add the new fetch route to the api keys actions * capitalize json Co-authored-by: cvermand <33010418+bidoubiwa@users.noreply.github.com> * update open-api * Specify the new route to delete documents by filter * add the new analytics event * improve a comment * add the post - delete route to the api key actions * Fix the json payload Co-authored-by: cvermand <33010418+bidoubiwa@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Guillaume Mourier <guillaume@meilisearch.com> * Update the details Co-authored-by: Guillaume Mourier <guillaume@meilisearch.com> * delete the invalid_document_delete_filter error code and introduce the missing_document_filter * fix the open-api thingy --------- Co-authored-by: cvermand <33010418+bidoubiwa@users.noreply.github.com> Co-authored-by: Guillaume Mourier <guillaume@meilisearch.com> * Auto deletion of tasks (#238) * auto deletion of tasks * Update text/0060-tasks-api.md Co-authored-by: gui machiavelli <hey@guimachiavelli.com> * Update text/0060-tasks-api.md Co-authored-by: gui machiavelli <hey@guimachiavelli.com> --------- Co-authored-by: gui machiavelli <hey@guimachiavelli.com> * Experimental reduce indexing memory usage (#239) * Add the experimental-reduce-indexing-memory-usage option in the telemetry policies * Add the experimental-reduce-indexing-memory-usage option in the instance options * Update 0055-sort.md (#240) related to meilisearch/meilisearch#3749 * Update `payload_too_large` error `message` (#241) * Update 0061-error-format-and-definitions.md Update error message in the specification * Update open-api.yaml --------- Co-authored-by: Tamo <tamo@meilisearch.com> Co-authored-by: Clément Renault <renault.cle@gmail.com> Co-authored-by: cvermand <33010418+bidoubiwa@users.noreply.github.com> Co-authored-by: gui machiavelli <hey@guimachiavelli.com> Co-authored-by: Many the fish <legendre.maxime.isn@gmail.com>
This was referenced Jun 5, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Implemented
Feature specification has been implemented.
OpenAPI
Update OpenAPI specification.
Q2:2023
Telemetry
Update the telemetry collect.
v1.2.0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🤖 API Diff
Attention to reviewers
Associated issue: meilisearch/meilisearch#3477
We decided to merge both feature inside a single PR.
But some you can still see the initial review of the get/fetch documents by filter here: #234
Summary
Specify the new fetch and delete by filter route.
Changes
GET /indexes/:uid/documents
route has been updated with a new query parameterfilter
POST /indexes/:uid/documents/fetch
route has been created with all the parameters of the GET version above (limit
,offset
,fields
, andfilter
)filter
fields:invalid_document_filter
POST /indexes/:index_uid/documents/delete
route that lets you delete documents by filterfilter
field, i.e.:{ "filter": "doggo = bernese" }
invalid_document_delete_filter
Misc