Louis Dureuil
4d761d3444
Rename batch_creation_complete
to batch_strategy
2025-05-22 12:19:54 +02:00
Louis Dureuil
c9b78970c9
Remove lambdas from the find_*_derivations
...
Make sure their number of insert in the interner are bounded
2025-05-22 11:06:14 +02:00
ManyTheFish
1b718afd11
Update charabia removing a lot of dependencies
2025-05-21 11:52:19 +02:00
ManyTheFish
01ef055f40
Update charabia v0.9.4
2025-05-21 11:52:19 +02:00
Lucas Black
f888f87635
Updated formatting using RustFmt
2025-05-21 02:07:25 -07:00
Many the fish
293a425183
Apply suggestions from code review
...
Co-authored-by: Martin Grigorov <martin-g@users.noreply.github.com>
2025-05-21 10:49:43 +02:00
ManyTheFish
699ec18de8
Fix warnings
2025-05-21 10:49:43 +02:00
ManyTheFish
73e4206b3c
Pass a progress callback to recompute_word_fst_from_word_docids_database
...
fixes https://github.com/meilisearch/meilisearch/pull/5494#discussion_r2069377991
2025-05-21 10:49:43 +02:00
ManyTheFish
a964251cee
Remove useless reset
...
fixes https://github.com/meilisearch/meilisearch/pull/5494#discussion_r2069373494
2025-05-21 10:49:43 +02:00
Martin Tzvetanov Grigorov
8c8d98eeaa
Use shared server and unique indices for all tests where possible
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-21 10:48:20 +03:00
Lucas Black
c5ae43cac6
Updated all additional test cases
2025-05-20 09:03:26 -07:00
Martin Tzvetanov Grigorov
57eecd6197
Remove an empty line
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-20 14:37:45 +03:00
Martin Tzvetanov Grigorov
2fe5c78cb6
tests: Faster index::search::mod IT tests
...
* Use shared index where possible.
* Call .succeeded/.failed when waiting for a task.
* Use newer format_args syntax
* Do not use fully qualified name for meili_snap:: functions. The
functions are already imported in scope
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-20 14:26:26 +03:00
Tamo
8047cfe438
Merge pull request #5580 from martin-g/better-assertions-index-delete_index-it-tests
...
tests: Assert succeeded/failed for the index::delete_index IT tests
2025-05-20 08:49:24 +00:00
CodeMan62
f26826f115
fix issue 5555
2025-05-20 10:41:32 +02:00
Tamo
5717e5c1af
Merge pull request #5578 from martin-g/faster-index-get_index-it-tests
...
perf: Faster index::get_index IT tests
2025-05-20 08:41:11 +00:00
Martin Tzvetanov Grigorov
bb07038c31
tests: Assert succeeded/failed for the index::delete_index IT tests
...
Related-to: https://github.com/meilisearch/meilisearch/issues/4840
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-19 16:57:53 +03:00
Martin Tzvetanov Grigorov
d1a088ea0b
Format the code
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-19 16:52:43 +03:00
Martin Tzvetanov Grigorov
b68e22c0e6
Revert the improvements for get_and_paginate_indexes()
...
Because they won't work in multi-threaded execution of the tests
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-19 16:36:45 +03:00
Martin Tzvetanov Grigorov
03a36f116e
1. Use a unique Server for no_index_return_empty_list test
...
... because a Shared one could see indices created by other tests
2. List at least 1000 indices to make sure we get the newly created ones
in list_multiple_indexes()
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-19 16:20:16 +03:00
Martin Tzvetanov Grigorov
e2763471e5
Faster index::get_index IT tests
...
Use shared server for all tests in get_index.rs
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-19 15:36:25 +03:00
Martin Tzvetanov Grigorov
b2f2c5d69f
Remove an assertion of a task uid.
...
It differs for every run of the IT test suite.
Format the imports
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-19 14:44:08 +03:00
Lucas Black
1594c54e23
Provide more information about resulting documents on test case
2025-05-19 02:37:23 -07:00
Lucas Black
13b607bd68
Removed matches_wildcard_pattern() and integrated match_pattern() into attributes_to_search_on(), updated test cases
2025-05-18 20:24:52 -07:00
Martin Tzvetanov Grigorov
3d130d31c8
Do not hard code the non-exiting index name/uid
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-16 15:49:50 +03:00
Martin Tzvetanov Grigorov
4cda584b0c
Fix the build of stats.rs
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-16 15:45:25 +03:00
Santhosh Reddy Vootukuri (SUNNY) (from Dev Box)
248c90bad5
removing .await
2025-05-16 15:29:24 +03:00
Santhosh Reddy Vootukuri (SUNNY) (from Dev Box)
0e9040e605
remove warnings
2025-05-16 15:29:23 +03:00
Santhosh Reddy Vootukuri (SUNNY) (from Dev Box)
3e3c00f44c
fix for test failure
2025-05-16 15:29:23 +03:00
Santhosh Reddy Vootukuri (SUNNY) (from Dev Box)
d986a3bbaf
Changes to index and expected_response as per feedback
2025-05-16 15:29:22 +03:00
Santhosh Reddy Vootukuri (SUNNY) (from Dev Box)
c2ceb8e41b
Improve Integration tests in the file stats.rs
2025-05-16 15:29:18 +03:00
Tamo
a25eb9c136
Merge pull request #5566 from meilisearch/bad-max-total-hits
...
Forbid 0 in maxTotalHits
2025-05-15 15:01:22 +00:00
Tamo
cc2011a27f
Merge pull request #5565 from meilisearch/fix-0-batched-task
...
Fix 0 batched task
2025-05-15 12:41:48 +00:00
Tamo
604e156c2b
add the snapshots
2025-05-15 11:35:31 +02:00
Tamo
1d6777ee68
Forbid 0 in maxTotalHits
2025-05-15 11:32:08 +02:00
Nate Nethercott
79db2e67fb
refactor: prefer helper over explicit pool construction
...
Co-authored-by: Many the fish <many@meilisearch.com>
2025-05-15 11:24:34 +02:00
Tamo
0940f0e4f4
add a test
2025-05-15 11:10:08 +02:00
Louis Dureuil
d40290aaaf
Merge pull request #5560 from meilisearch/experimental-no-snapshot-compression
...
Add an experimental cli flag to disable snapshot compaction
2025-05-15 07:51:06 +00:00
nnethercott
865f24cfef
refactor: helper methods for pool and max threads
2025-05-14 23:45:24 +02:00
Louis Dureuil
c5dd8e7d6f
Add test
2025-05-14 17:36:09 +02:00
Louis Dureuil
c9b4c1fb81
Only intern in case of single-typo when looking for single typoes
2025-05-14 17:36:03 +02:00
Tamo
8608d10fa2
Don't process any tasks if the max number of batched tasks is set to 0
2025-05-14 17:09:10 +02:00
Tamo
83e71cd7b9
Add an experimental cli flag to disable snapshot compaction
2025-05-14 15:59:35 +02:00
Lucas Black
3fbe1df770
Updated nested_search_all_details_with_deep_wildcard() to test deeply nested attributes
2025-05-14 00:18:30 -07:00
Lucas Black
150d1db86b
Implemented integration tests for restrict_searchable.rs on nested wildcard attributes
2025-05-13 21:44:24 -07:00
Nate Nethercott
806e983aa5
fix: lazy computation in thread default
...
Co-authored-by: Martin Grigorov <martin-g@users.noreply.github.com>
2025-05-13 14:14:48 +02:00
nnethercott
e96c1d4b0f
style: change fmt from empty str to "unlimited"
2025-05-13 12:16:34 +02:00
nnethercott
15cdc6924b
refactor: remove runtime cfg!(test) check
...
Won't work in integration tests and consequently all threads would be
used. To remedy this we make explicit `max_threads=Some(1)` in the
IndexerConfig::default
2025-05-13 09:18:19 +02:00
Clément Renault
677e8b122c
Merge pull request #5551 from meilisearch/dont-intern-without-typo
...
Only intern in case of single-typo when looking for single typoes
2025-05-12 20:23:39 +00:00
nnethercott
75a7e40a27
Merge branch 'main' into all-cpus-in-import-dump
2025-05-12 21:48:12 +02:00