10836 Commits

Author SHA1 Message Date
Tamo
0cc25c7e4c
add a large test importing a data.ms from the v1.12.0 2025-01-23 16:51:18 +01:00
Tamo
102681e384
starts adding tests and fix the starts of meilisearch 2025-01-23 16:51:18 +01:00
Tamo
3ef7a478cd
move the version check to the task queue 2025-01-23 16:48:32 +01:00
Tamo
e70ac35e02
fix bugs after rebase 2025-01-23 16:48:32 +01:00
Tamo
d3654906bf
Add the new tasks with most of the job done 2025-01-23 16:48:32 +01:00
meili-bors[bot]
b15de68831
Merge #5257
5257: Fix ollama r=Kerollmops a=dureuill

Fix oversight in ollama embedder 

WIP Integration tests are on branch `ollama-integration-test` and will be added as a future PR.

Co-authored-by: Louis Dureuil <louis@meilisearch.com>
2025-01-22 15:36:15 +00:00
meili-bors[bot]
6723700fb9
Merge #5262
5262: Bring back changes from v1.12.4, v1.12.5, and v1.12.6 into main r=dureuill a=Kerollmops

This PR follows [this guideline to bring back changes after we worked on v1.12.4, v1.12.5, and v1.12.6](https://github.com/meilisearch/engine-team/blob/main/resources/meilisearch-release.md#after-the-release-bring-back-changes-to-main).

Co-authored-by: Louis Dureuil <louis@meilisearch.com>
Co-authored-by: ManyTheFish <many@meilisearch.com>
Co-authored-by: Kerollmops <clement@meilisearch.com>
Co-authored-by: Kerollmops <Kerollmops@users.noreply.github.com>
2025-01-22 14:55:02 +00:00
Louis Dureuil
2c099b7c23
Update Cargo.lock again 2025-01-22 15:53:52 +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]
be5e521cb0
Merge #5271
5271: Update version for the next release (v1.13.0) in Cargo.toml r=curquiza a=meili-bot

⚠️ This PR is automatically generated. Check the new version is the expected one and Cargo.lock has been updated before merging.

Co-authored-by: Kerollmops <Kerollmops@users.noreply.github.com>
2025-01-22 13:04:20 +00:00
Kerollmops
60f20119a2 Update version for the next release (v1.13.0) in Cargo.toml 2025-01-22 10:52:47 +00:00
Louis Dureuil
4709c638ed
Swap implementations of ollama 2025-01-20 22:22:22 +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
meili-bors[bot]
8f006eeaf3
Merge #5239
5239: Fix corrupted task queue errors on index creation r=dureuill a=irevoire

# Pull Request

## Related issue
Fixes https://github.com/meilisearch/meilisearch/issues/5238

## What does this PR do?
- Add a test that reproduces the issue and ensure we never introduce the bug again
- Fix the bug by storing the stats of the index upon creation instead of waiting for the update index task to do it


Co-authored-by: Tamo <tamo@meilisearch.com>
2025-01-15 12:45:25 +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
meili-bors[bot]
4cfe0dbdd8
Merge #5237
5237: Bring back v1.12.3 changes into main r=irevoire a=dureuill

This brings back the (already reviewed) changes of v1.12.3 into main:

1. fix the field distribution issue
2. improve the error message when trying to delete a non-existing key

Co-authored-by: Louis Dureuil <louis@meilisearch.com>
Co-authored-by: Kerollmops <clement@meilisearch.com>
2025-01-14 14:04:48 +00: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