meili-bors[bot]
13a88d6131
Merge #5407
...
5407: Geo update bug r=irevoire a=ManyTheFish
# Pull Request
## Related issue
Fixes #5380
Fixes #5399
Co-authored-by: Tamo <tamo@meilisearch.com>
Co-authored-by: ManyTheFish <many@meilisearch.com>
2025-03-17 10:24:33 +00:00
meili-bors[bot]
e2d0ce52ba
Merge #5384
...
5384: Get multiple documents by ids r=irevoire a=dureuill
# Pull Request
## Related issue
Fixes #5345
## What does this PR do?
- Implements [public usage](https://www.notion.so/meilisearch/Get-documents-by-ID-1994b06b651f805ba273e1c6b75ce4d8 )
- Slightly refactor error messages for the `/similar` route
Co-authored-by: Louis Dureuil <louis@meilisearch.com>
2025-03-12 17:26:49 +00:00
Louis Dureuil
60ff1b19a8
Searching for a document that does not exist no longer raises an error
2025-03-12 11:50:39 +01:00
Louis Dureuil
7df5e3f059
Fix error message
...
Co-authored-by: Tamo <tamo@meilisearch.com>
2025-03-12 11:48:40 +01:00
Tamo
3ed43f9097
add a failing test reproducing the bug
2025-03-12 11:20:10 +01:00
ManyTheFish
7072fe9780
Fix typos in comments and messages
2025-03-11 15:22:00 +01:00
ManyTheFish
c9a4c6ed96
REvert metadata creation when computing filters at search time
2025-03-10 14:29:44 +01:00
Louis Dureuil
19c9caed39
Fix tests
2025-03-10 11:11:48 +01:00
Louis Dureuil
21c3b3957e
tests: Change get_document_by_filter to fetch_documents
2025-03-10 11:11:48 +01:00
ManyTheFish
5d421abdc4
Update Snapshots
2025-02-26 17:01:37 +01:00
ManyTheFish
9a6c1730aa
Add document database stats
2025-02-26 17:01:25 +01:00
ManyTheFish
49e9655c24
Update snapshots
2025-02-12 14:05:32 +01:00
Louis Dureuil
1dce341bfb
Add test
2025-02-11 15:27:10 +01:00
Louis Dureuil
c32bec338f
Fix tests
2025-01-14 13:55:33 +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
Tamo
7b3353252f
update the test to ensure it works when specifying the primary key or not: it doesn't work
2025-01-09 10:24:35 +01:00
Tamo
647a10bf18
stop skipping empty tasks when adding documents
2025-01-09 10:24:34 +01:00
Tamo
08c332980b
add a test reproducing the bug
2025-01-09 10:12:12 +01:00
Mahmoud Rawas
c6f14279d7
remove unused imports.
2025-01-08 15:11:34 +11:00
Mahmoud Rawas
98e3ecb86b
Format fixes after running: cargo +nightly fmt
2025-01-07 11:16:37 +11:00
Mahmoud Rawas
d7cb319217
#4840 - Partial fix - Confirm task success after waiting for it - continued, few missing cases - batch 2
2024-12-24 23:07:43 +11:00
Mahmoud Rawas
91c7ef8723
#4840 - Partial fix - Remove hard coded task ids to prevent flaky tests.
...
# Conflicts:
# crates/meilisearch/tests/documents/add_documents.rs
# crates/meilisearch/tests/search/facet_search.rs
# crates/meilisearch/tests/settings/get_settings.rs
# crates/meilisearch/tests/snapshot/mod.rs
2024-12-24 23:05:59 +11:00
Louis Dureuil
d075be798a
Fix tests
2024-12-10 13:39:07 +01:00
Louis Dureuil
7cf6707ed3
Extend test to add the ==512 bytes case
2024-12-10 11:05:42 +01:00
airycanon
b75f1f4c17
fix tests
...
# Conflicts:
# crates/index-scheduler/src/batch.rs
# crates/index-scheduler/src/snapshots/lib.rs/fail_in_process_batch_for_document_deletion/after_removing_the_documents.snap
# crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_bad_primary_key/fifth_task_succeeds.snap
# crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_bad_primary_key/fourth_task_fails.snap
# crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_multiple_primary_key/second_task_fails.snap
# crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_multiple_primary_key/third_task_fails.snap
# crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_multiple_primary_key_batch_wrong_key/second_and_third_tasks_fails.snap
# crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key_inference_works/all_other_tasks_succeeds.snap
# crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key_inference_works/second_task_fails.snap
# crates/index-scheduler/src/snapshots/lib.rs/test_document_addition_with_set_and_null_primary_key_inference_works/third_task_succeeds.snap
# Conflicts:
# crates/index-scheduler/src/batch.rs
# crates/meilisearch/src/search/mod.rs
# crates/meilisearch/tests/vector/mod.rs
# Conflicts:
# crates/index-scheduler/src/batch.rs
2024-12-06 02:03:02 +08:00
Louis Dureuil
bda2b41d11
update snaps after merge
2024-11-20 17:08:30 +01:00
Louis Dureuil
6e6acfcf1b
Merge branch 'main' into indexer-edition-2024
2024-11-20 16:59:58 +01:00
Tamo
6062914654
add the batch_id to the tasks
2024-11-20 10:42:54 +01:00
Clément Renault
8e5b1a3ec1
Compute the field distribution and convert _geo into an f64s
2024-11-13 17:44:05 +01:00
Clément Renault
b17896d899
Finialize the GeoExtractor
2024-11-13 17:43:02 +01:00
Louis Dureuil
a01bc7b454
Fix error_document_field_limit_reached_in_one_document test
2024-11-13 10:34:54 +01:00
meili-bors[bot]
b427b9e88f
Merge #5025
...
5025: test: improve performance of get_documents.rs r=irevoire a=PedroTurik
# Pull Request
## Related issue
Fixes one item from #4840
## What does this PR do?
- Applies the changes recommended on the issue for `meilisearch/tests/documents/get_documents.rs`
## 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: Pedro Turik Firmino <pedroturik@gmail.com>
2024-11-07 09:46:34 +00:00
Pedro Turik Firmino
da4d47b5d0
Fixes formatting issues
2024-11-06 09:54:20 -03:00
Pedro Turik Firmino
d0b1ba20cb
Improves usage of shared indexes
2024-11-04 17:26:50 -03:00
Pedro Turik Firmino
c79ca9679b
Changes variable name to re-run CI
2024-11-02 18:25:33 -03:00
Pedro Turik Firmino
b02a72c0c0
Applies optimizations to some integration tests
2024-10-29 19:30:11 -03:00
Pedro Turik Firmino
a934b0ac6a
Applies optimizations to some integration tests
2024-10-29 18:49:06 -03:00
Clément Renault
9c1e54a2c8
Move crates under a sub folder to clean up the code
2024-10-21 08:18:43 +02:00