-
Notifications
You must be signed in to change notification settings - Fork 98
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
Implements the update documents by function #664
Merged
curquiza
merged 8 commits into
bump-meilisearch-v1.10.0
from
implements-the-edit-document-function
Aug 1, 2024
Merged
Implements the update documents by function #664
curquiza
merged 8 commits into
bump-meilisearch-v1.10.0
from
implements-the-edit-document-function
Aug 1, 2024
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
irevoire
added
enhancement
New feature or request
Meilisearch bump
Changes related to the Meilisearch bump version
labels
Jul 31, 2024
norkunas
reviewed
Jul 31, 2024
Co-authored-by: Tomas Norkūnas <norkunas.tom@gmail.com>
norkunas
approved these changes
Jul 31, 2024
norkunas
reviewed
Aug 1, 2024
Co-authored-by: Tomas Norkūnas <norkunas.tom@gmail.com>
norkunas
reviewed
Aug 1, 2024
Co-authored-by: Tomas Norkūnas <norkunas.tom@gmail.com>
curquiza
previously approved these changes
Aug 1, 2024
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.
@irevoire can you update the tests? 😇
curquiza
requested changes
Aug 1, 2024
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.
Request of change for the tests (no miss click this time 🤞 )
curquiza
approved these changes
Aug 1, 2024
2 tasks
meili-bors bot
added a commit
that referenced
this pull request
Aug 26, 2024
668: Update version for the next release (v1.10.0) r=brunoocasali a=meili-bot _This PR is auto-generated._ The automated script updates the version of meilisearch-php to a new version: "v1.10.0" CHANGELOGS 👇 This version introduces features released on Meilisearch v1.10.0 🎉 Check out the changelog of [Meilisearch v1.10.0](https://github.com/meilisearch/meilisearch/releases/tag/v1.10.0) for more information on the changes. ## 🚀 Enhancements - Add localized attributes settings (#662) `@/irevoire` ``` $client->index('INDEX_NAME')->updateLocalizedAttributes([ 'locales' => ['jpn'], 'attributePatterns' => ['*_ja'] ]); ``` - Add `locales` search parameter (#663) `@/irevoire` ```php $client->index('INDEX_NAME')->search('進撃の巨人', [ 'locales' => ['jpn'] ]); ``` - Add federation options when doing multi-search (#663) `@/irevoire` ```php $client->multiSearch([ (new SearchQuery()) ->setIndexUid('movies')) ->setQuery('batman') ->setLimit(5), (new SearchQuery()) ->setIndexUid('comics') ->setQuery('batman') ->setLimit(5), ], (new MultiSearchFederation()) ); ``` - Add capability to update documents by function (⚠️ experimental feature) (#664) `@/irevoire` ```php $function = ' if doc.id % context.modulo == 0 { doc.title = `kefir would read ${doc.title}`; }; doc.remove("comment"); doc.remove("genre"); '; $client-> index->updateDocumentsByFunction($function, ['context' => ['modulo' => 3]]); ``` ## ⚙️ Maintenance/misc - Update CI (#666 & #667) `@/norkunas` Co-authored-by: meili-bot <74670311+meili-bot@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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.
Pull Request
Related issue
Fixes #661
What does this PR do?