515 Commits

Author SHA1 Message Date
Kerollmops
e6295c9c5f
Introduce a meilitool subcommand to compact an index 2025-01-22 16:37:00 +01:00
Louis Dureuil
50fca8fc70
Create update files in new format 2025-01-22 15:51:21 +01:00
Kerollmops
b9d92c481b
Update version for the next release (v1.12.6) in Cargo.toml 2025-01-22 15:51:20 +01:00
Kerollmops
d142c5e432
Do not panic when the facet string is not found 2025-01-22 15:50:43 +01:00
Kerollmops
4d4683adb6
Add a test to check the facet casing is good 2025-01-22 15:50:42 +01:00
Louis Dureuil
d6063079af
Unify facet strings by their normalized value 2025-01-22 15:50:42 +01:00
Louis Dureuil
2e04ab4737
Replace guards by OR patterns
Co-authored-by: Tamo <tamo@meilisearch.com>
2025-01-22 15:50:42 +01:00
Louis Dureuil
d95384a636
Remove batch ids on export 2025-01-22 15:50:42 +01:00
Louis Dureuil
c0690f5b9e
Make offline upgrade more flexible 2025-01-22 15:50:42 +01:00
Louis Dureuil
909d84447d
meilitool dumps old-style dump for older DBs, otherwise new-style 2025-01-22 15:50:42 +01:00
Louis Dureuil
2cf57d584e
Handle empty payloads 2025-01-22 15:50:42 +01:00
Kerollmops
59242b9c4f
Fix warnings 2025-01-22 15:50:42 +01:00
Louis Dureuil
6a6212d4e1
Fix warnings 2025-01-22 15:50:42 +01:00
ManyTheFish
a8006a3750
Change format of update file when importing dump 2025-01-22 15:50:41 +01:00
Louis Dureuil
0e0e462f5b
Also fix dump import from meilitool 2025-01-22 15:50:41 +01:00
Louis Dureuil
805531c90d
Do not explode on missing content file if the task has no docs 2025-01-22 15:50:41 +01:00
Louis Dureuil
a6470a0c37
Improve error log 2025-01-22 15:50:41 +01:00
Louis Dureuil
8a54f14b8e
Demote panic to error log 2025-01-22 15:49:24 +01:00
meili-bors[bot]
0776217801
Merge #5234
5234: Parse ollama URL to adapt configuration depending on the endpoint r=Kerollmops a=dureuill

# Pull Request

## Related issue
Fixes #5002 

## What does this PR do?
- Parses `url` parameter of `ollama` to recognize supported endpoint and adapt the REST configuration to the recognized endpoint
- Throws a new error if no endpoint is recognized
- Add a test for the various recognized endpoints


Thanks to `@Guikingone` for the original report and PR

Co-authored-by: Louis Dureuil <louis@meilisearch.com>
2025-01-20 09:51:42 +00:00
meili-bors[bot]
c85146524b
Merge #5232
5232: Stabilize vector store feature r=Kerollmops a=dureuill

# Pull Request

## Related issue
Fixes #4733 

## What does this PR do?
- `vectorStore` feature can no longer be set or get from `/experimental-features`
- That feature has been removed, and there is no longer any check for its activation
- Always display `embedders` in the settings, even if empty
- Always hide `_vectors` in documents, unless `retrieveVectors: true`
- Make error codes consistent with the usual nomenclature
- Update tests as needed


Co-authored-by: Louis Dureuil <louis@meilisearch.com>
2025-01-16 11:50:21 +00:00
Tamo
445e5aff02
fix the corruption 2025-01-15 12:38:40 +01:00
Tamo
234d0c360f
Add a test reproducing the issue 2025-01-15 12:29:56 +01:00
Louis Dureuil
89a4ac92eb
fix after rebase 2025-01-14 14:08:56 +01:00
Louis Dureuil
deb90ff573
Fix tests 2025-01-14 13:55:34 +01:00
Louis Dureuil
0c10063a87
PATCH experimental-features also returns the route type rather than internal type 2025-01-14 13:55:34 +01:00
Louis Dureuil
87ea080c10
Fully remove vector store feature 2025-01-14 13:55:34 +01:00
Louis Dureuil
6d62fa061b
Fix tests 2025-01-14 13:55:34 +01:00
Louis Dureuil
de6cd3ac01
Consistent error codes 2025-01-14 13:55:34 +01:00
Louis Dureuil
cb8f033130
Fix tests 2025-01-14 13:55:34 +01:00
Louis Dureuil
03097e65e8
Always display embedders setting 2025-01-14 13:55:34 +01:00
Louis Dureuil
c32bec338f
Fix tests 2025-01-14 13:55:33 +01:00
Louis Dureuil
73d3d286d9
Serialize features as camelCase 2025-01-14 13:53:53 +01:00
Louis Dureuil
29eeb84ce3
Add --experimental-disable-vector-store CLI flag 2025-01-14 13:53:53 +01:00
Louis Dureuil
d78951feb7
vectorStore stabilization
- `vectorStore` feature is always enabled
- `vectorStore` can no longer be set in the `/experimental-features` PATCH route
- `vectorStore` status is no longer returned in the `/experimental-features` GET route
2025-01-14 13:53:53 +01:00
Kerollmops
63c8cbae5b
Improve the panic message when deleting an unknown entry 2025-01-14 10:31:44 +01:00
Louis Dureuil
72ded27e98
Update after review 2025-01-14 10:24:50 +01:00
Louis Dureuil
c25781f720
Skip rebuilding field distribution if not coming from v1.12 2025-01-14 10:24:28 +01:00
Louis Dureuil
c3b18fede9
write stats after rebuilding facet distribution 2025-01-14 10:24:27 +01:00
Louis Dureuil
4070895a21
Add support to upgrade to v1.12.3 in meilitool 2025-01-14 10:24:27 +01:00
Louis Dureuil
a21711f473
Fix test 2025-01-14 10:23:59 +01:00
Louis Dureuil
f0ec8cbffe
Add currently failing test 2025-01-14 10:23:15 +01:00
meili-bors[bot]
e568dbbabb
Merge #5182
5182: Remove hard coded task ids to prevent flaky tests r=irevoire a=mhmoudr

# Pull Request

## Related issue
Fixes partial #4840

## What does this PR do?
- Mainly scan the test code for any hard coded task Id and replace it by the returned task Id once the action or task is performed on an index.
- PS: _PR is not split by files as it has one theme applied to all tests which make it easy to review_ 


## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!


Co-authored-by: Mahmoud Rawas <mhmoudr@gmail.com>
Co-authored-by: Tamo <tamo@meilisearch.com>
2025-01-13 15:18:55 +00:00
Tamo
8ff15b3dfb
fix the tests 2025-01-13 16:17:50 +01:00
meili-bors[bot]
247eaed872
Merge #5221
5221: Merge bitmaps by using `Extend::extend` r=Kerollmops a=Kerollmops

This PR tries to speed up the merging of bitmaps by using [the new `Extend::extend` implementation](https://github.com/RoaringBitmap/roaring-rs/pull/306).

Co-authored-by: Clément Renault <clement@meilisearch.com>
2025-01-13 13:43:28 +00:00
Louis Dureuil
8b1fcfd7f8
Parse ollama URL to adapt configuration depending on the endpoint 2025-01-13 14:34:11 +01:00
Louis Dureuil
45f289488d
Add test for url checks on ollama embedders 2025-01-13 14:33:30 +01:00
meili-bors[bot]
b0ef7701ae
Merge #5231
5231: Improve openapi r=dureuill a=irevoire

# Pull Request

## Related issue
Fixes https://github.com/meilisearch/open-api/issues/17
Fixes https://github.com/meilisearch/open-api/issues/13
Fixes https://github.com/meilisearch/open-api/issues/14
Fixes https://github.com/meilisearch/open-api/issues/16


Co-authored-by: Tamo <tamo@meilisearch.com>
2025-01-13 13:04:09 +00:00
Tamo
c9fb6c48b8
Update crates/meilisearch/src/routes/features.rs
Co-authored-by: Louis Dureuil <louis@meilisearch.com>
2025-01-13 13:43:38 +01:00
Tamo
0de34aa8fa
avoid generating the same operationId 2025-01-13 12:36:22 +01:00
Tamo
6bfcad4b05
Add the server property 2025-01-13 12:13:39 +01:00