v0.42.0 🌻
meili-bot
released this
26 Aug 13:45
·
153 commits
to refs/heads/main
since this release
This version introduces features released on Meilisearch v1.10.0 🎉
Check out the changelog of Meilisearch v1.10.0 for more information on the changes.
⚠️ Breaking changes
- Improve errors (#1656) @/flevi29
More details here - Changes related to Hybrid search (experimental) for the REST embedder (#1692) @mdubus
- Removed parameters:
query
,inputField
,inputType
,pathToEmbeddings
andembeddingObject
. - Replaced by
request
andresponse
- New parameter:
headers
- Removed parameters:
🚀 Enhancements
-
Hybrid search improvements (#1692) @mdubus
- Add
url
parameter to the OpenAI embedder dimensions
is now available as an optional parameter forollama
embedders.
- Add
client.multiSearch({
federation: {},
queries: [
{
indexUid: 'movies',
q: 'batman',
limit: 5,
},
{
indexUid: 'comics',
q: 'batman',
limit: 5,
},
]
})
index.updateDocumentsByFunction({
context: { ctx: 'Harry' },
filter: 'id = 4',
function: 'doc.comment = `Yer a wizard, ${context.ctx}!`',
})
)
- Add language settings (#1693) @/flevi29
client.index('INDEX_NAME').updateLocalizedAttributes([
{ attributePatterns: ['jpn'], locales: ['*_ja'] },
];)
client.index('INDEX_NAME').search('進撃の巨人', { locales: ['jpn'] })
⚙️ Maintenance/misc
Thanks again to @amit-ksh, @brunoocasali, @curquiza, @flevi29, @mdubus, @meili-bors[bot] ! 🎉