Quentin de Quelen
e34021c315
cargo format
2025-06-27 21:37:00 +02:00
Quentin de Quelen
1a2a711360
feat: Add endpoint to retrieve index fields
...
This commit introduces a new API endpoint `/indexes/{indexUid}/fields` that allows users to fetch all field names in an index, including nested fields. It also includes corresponding tests to validate the functionality, ensuring that the endpoint returns the correct fields for both empty and populated indexes, as well as handling errors for non-existent indexes.
2025-06-27 21:28:51 +02:00
Martin Tzvetanov Grigorov
ca112a8b95
tests: Use Server::wait_task() instead of Index::wait_task() in index::
...
The code is mostly duplicated. Server::wait_task() has better handling for errors and more retries.
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2025-06-22 14:59:29 +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
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
Mahmoud Rawas
bf19f86e38
#4840 - Partial fix - Confirm task success after waiting for it.
2024-12-24 23:06:07 +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
Clément Renault
9c1e54a2c8
Move crates under a sub folder to clean up the code
2024-10-21 08:18:43 +02:00