integration-guides
integration-guides copied to clipboard
Changes related to Meilisearch v1.11.0
This issue gathers the changes related to the v1.11.0 of Meilisearch that will impact the integrations scope.
📅 Release date: 28 October 2024
Timelines & steps
Pre-release
- [x] With the help of the changelog & this CI, define which integrations should be updated and how (New feature? Update README? Update tests?)
- [x] Fill in the "What to implement?" section below in this issue 👇. Minial implementation: PHP, JS, Instant-meilisearch.
- [x] Open implementation issues in repositories that need implementation.
- [x] Discuss with the Product team if needed. At least share this issue to let them know about the decisions.
- [x] Create a branch by running Octopus script: only open branches for the integrations we choose to update (defined in the previous step) + Kubernetes repository + Cloud provider repository (changing the version)
- [ ] Update integrations according to the decisions (cf "What to implement?" section below in this issue 👇)
⚠️ If possible, this step is done before pre-release, once the feature is ready thanks to the prototype released by the engine team
- [ ] JS: implementation + fix tests
- [ ] PHP: implementation + fix tests
- [ ] Instant-meilisearch (update meilisearch-js version)
- [ ] Go: Fix AI tests (maybe implementation is required)
- [ ] Python: fix AI tests (maybe implementation is required)
- [ ] Add code samples for the chosen up-to-date integrations with the new version of Meilisearch
- [ ] Update the library version of the related integrations and prepare the changelogs
Release day
- [ ] Release the integrations
- [ ] Release JS
- [ ] Release PHP
- [ ] Go
- [ ] Python
- [ ] Release Instant-meilisearch with new version of meilisearch-js
- [ ] Merge the related PR in K8s repository
- [ ] Publish DevOps tools:
- [ ] create the git tag
- [ ] publish images (steps are in CONTRIBUTING.md)
- [ ] Remove useless AWS images (by using our internal script)
- [ ] Open issues in the repositories that are not up-to-date with the latest version of Meilisearch (including code samples)
- [ ] Update already existing issues in repositories about AI search
What to implement?
Experimental - AI search changes
Related issue in the engine:
- https://github.com/meilisearch/meilisearch/issues/4733
- https://github.com/meilisearch/meilisearch/issues/4873
Breaking:
- When using the semantic or the hybrid search,
hybrid.embedderis now a mandatory parameter inGET and POST /indexes/{:indexUid}/search - As a consequence, it is now mandatory to pass
hybrideven for full-vector search (with onlyvectorand notq) embedderis now a mandatory parameter inGET and POST /indexes/{:indexUid}/similar- Ignore non-zero
semanticRatiowhenvectoris passed but notq: a semantic search will be performed.
Changes:
- A new sub setting in
embedderssetting to enable binary quantization and speed up indexing speed. - The default model for OpenAI is now
text-embedding-3-smallinstead oftext-embedding-ada-002. - Limit the maximum length of a rendered document template: when the source of an embedder is set to
huggingFace,openAi,restorollama, thendocumentTemplateMaxBytesis now available as an optional parameter. This parameter describes the number of bytes in which the rendered document template text should fit when trying to embed a document. Longer texts are truncated to fit. - Add the ability to query whether a field is searchable in
documentTemplate: usefield.is_searchable:trueif the field is a searchable attribute, otherwisefalse.
TODO:
- [ ] JS: implementation + fix tests - https://github.com/meilisearch/meilisearch-js/issues/1714
- [ ] PHP: implementation + fix tests - https://github.com/meilisearch/meilisearch-php/issues/682
- [ ] Go: fix tests - https://github.com/meilisearch/meilisearch-go/issues/578
- [ ] Python: fix tests - https://github.com/meilisearch/meilisearch-python/issues/1019
Support facet distribution for federated search
Related issue in the engine: https://github.com/meilisearch/meilisearch/issues/4932
- Request facet distributions and facet stats in your federated search, by using
federation.facetsByIndexin the POSTPOST /multi-searchroute. - Merge the returned facets in a single facet distribution and stats that is global to the entire request, by using
federation.mergeFacetsin the POSTPOST /multi-searchroute.
TODO:
- [ ] JS: https://github.com/meilisearch/meilisearch-js/issues/1713
- [ ] PHP: https://github.com/meilisearch/meilisearch-php/issues/681
Experimental - STARTS_WITH operator
Related issue in the engine: https://github.com/meilisearch/meilisearch/issues/4872
Filter with the newly introduced STARTS_WITH operator
TODO:
- [X] JS: nothing to implement 🎉
- [X] PHP: nothing to implement 🎉
Language setting enhancement: support ISO-639-1 languages code
Related issue in the engine: https://github.com/meilisearch/meilisearch/issues/4827
- Add iso-639-1 variants
- Convert iso-639-1 into iso-639-3
TODO:
- [X] JS: nothing to implement 🎉
- [X] PHP: nothing to implement 🎉