Martin Tzvetanov Grigorov
a3d2f64725
tests: Faster search::distinct IT tests
...
Use shared server + unique indices
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-06-03 08:23:26 +03:00
Many the fish
20049669c9
Merge pull request #5600 from martin-g/faster-search-facet_search-it-tests
...
tests: Faster search::facet_search IT tests
2025-06-02 08:39:30 +00:00
Martin Tzvetanov Grigorov
db28d13cb1
Remove useless assertion.
...
.succeeded() does the same
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-06-02 10:59:46 +03:00
Many the fish
a299fbd33b
Merge pull request #5605 from martin-g/faster-search-restricted_searchable-it-tests
...
tests: Faster search::restricted_searchable IT tests
2025-06-02 07:06:50 +00:00
Many the fish
193119acb9
Merge pull request #5604 from martin-g/search-pagination-it-tests
...
tests: search::pagination IT tests
2025-06-02 07:05:52 +00:00
Many the fish
4c71118699
Merge pull request #5602 from martin-g/faster-search-matching_strategy-it-tests
...
tests: Faster search::matching_strategy IT tests
2025-06-02 07:04:43 +00:00
Many the fish
5fe2943d3c
Merge pull request #5601 from martin-g/faster-search-locales-it-tests
...
tests: Faster search::locales IT tests
2025-06-02 07:02:28 +00:00
Martin Tzvetanov Grigorov
d9b0463a0b
tests: Faster search::restricted_searchable IT tests
...
Use shared server + unique indices
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-30 15:37:27 +03:00
Martin Tzvetanov Grigorov
ae9899f179
tests: search::pagination IT tests
...
Minor cleanup.
Related-to: https://github.com/meilisearch/meilisearch/issues/4840
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-30 15:26:55 +03:00
Martin Tzvetanov Grigorov
308fd7128e
Fix clippy errors
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-29 11:36:56 +03:00
Martin Tzvetanov Grigorov
27e7c00622
Add dynamic redactions for taskUid and enqueuedAt properties
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-29 11:33:10 +03:00
Martin Tzvetanov Grigorov
17207b5405
tests: Faster search::matching_strategy IT tests
...
Use shared server + unique indices for all tests
Related-to: https://github.com/meilisearch/meilisearch/issues/4840
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-29 09:09:02 +03:00
Martin Tzvetanov Grigorov
bd95503eba
tests: Faster search::locales IT tests
...
Use a shared server + unique indices where possible
Related-to: https://github.com/meilisearch/meilisearch/issues/4840
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-29 09:03:23 +03:00
Martin Tzvetanov Grigorov
8b8b0d802c
tests: Faster search::facet_search IT tests
...
Use shared server + unique indices where possible.
Assert .succeeded() for the waited tasks.
Drop usage of dbg!() in the assertions. It caused noise in the logs
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-29 08:53:10 +03:00
Martin Tzvetanov Grigorov
d329e86250
tests: Use shared server + unique server where possible
...
Related-to: https://github.com/meilisearch/meilisearch/issues/4840
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-29 08:42:10 +03:00
Tamo
83cd28b60b
Merge pull request #5584 from martin-g/faster-index-search-mod-tests
...
tests: Faster index::search::mod IT tests
2025-05-28 08:40:37 +00:00
Martin Tzvetanov Grigorov
48cad4132a
Fix clippy - ignore code
variable
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-27 16:44:57 +03:00
Martin Tzvetanov Grigorov
4897ad99d0
Wait for the add_documents task
...
Format the code
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-27 14:26:29 +03:00
Martin Tzvetanov Grigorov
d2948adea3
Migrate more tests to assert with "[uuid]" instead of real Uuid
...
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-26 14:31:58 +03:00
Martin Tzvetanov Grigorov
f54b57e5be
Use a Regex in insta dynamic redaction to replace Uuids with [uuid]
...
(cherry picked from commit f8b8c6ab71a28052cf9b271ca8aa5d4175f9e8f9)
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-26 14:03:48 +03:00
Martin Tzvetanov Grigorov
34d58f35c8
Print [uuid]
instead of the Uuid index name for MeilisearchHttpError::Milli errors
...
This way the tests' assertions/snapshots for unique indices would be stable
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-05-25 15:48:55 +03:00
Many the fish
97aeb6db4d
Merge pull request #5548 from lblack00/attributes-to-search-on-nested-fields
...
Added support for nested wildcards to attributes_to_search_on
2025-05-22 13:58:23 +00:00
Lucas Black
f888f87635
Updated formatting using RustFmt
2025-05-21 02:07:25 -07: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
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
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
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
Louis Dureuil
c8939944c6
Add test
2025-05-12 12:40:55 +02:00
ManyTheFish
294ccb6f44
Add test
2025-04-23 16:57:50 +02:00
Tamo
b025f1bcf1
Merge branch 'main' into release-v1.14.0-tmp
2025-04-14 12:35:47 +02:00
Many the fish
55f620a986
Merge pull request #5425 from CodeMan62/enhance-filterable-error-messages
...
Enhance filterable error messages
2025-03-27 09:18:37 +00:00
CodeMan62
3acf036526
fix: improve error messages for filterable attributes and fix formatting
2025-03-25 21:44:39 +05:30
CodeMan62
1f67f373d1
fixed all the tests failing will "cargo insta test --accept"
2025-03-20 22:51:56 +05:30
CodeMan62
9aee12c906
fixed the failing tests from snapshots
2025-03-20 17:55:12 +05:30
HikariLan
39aca661dd
Make _matchesPosition length byte based instead of char based
2025-03-20 20:02:51 +08:00
CodeMan62
e2c824a7cd
fixed all test fails in the run
2025-03-20 15:21:47 +05:30
CodeMan62
0dd65caffe
test: update test snapshots to match new error message format
2025-03-20 10:59:21 +05:30
ManyTheFish
b0b1888ef9
Add test
2025-03-17 14:20:10 +01:00
ManyTheFish
7a172b82ca
Add test
2025-03-12 11:22:59 +01:00
ManyTheFish
7072fe9780
Fix typos in comments and messages
2025-03-11 15:22:00 +01:00
ManyTheFish
6269f757ff
Revert document creation in tests
2025-03-10 18:35:10 +01:00
ManyTheFish
40c5f911fd
Revert metadata creation when computing the facet-distribution
2025-03-10 17:05:41 +01:00
ManyTheFish
abef655849
Revert metadata creation when computing facet search and distinct
2025-03-10 15:45:59 +01:00
ManyTheFish
c9a4c6ed96
REvert metadata creation when computing filters at search time
2025-03-10 14:29:44 +01:00
ManyTheFish
67f7470c83
Apply PR requests related to Refactor search and facet-search
2025-03-05 18:17:42 +01:00
ManyTheFish
63e753bde0
Apply PR requests related to settings API
2025-03-05 12:05:40 +01:00
ManyTheFish
5fa4b5c50a
Add a test on filterable attributes rules priority
...
**Changes:**
- Add a new test playing with filterable attributes rules priority
- Optimize the faceted field selector avoiding to match false positives
2025-03-05 09:44:52 +01:00