Tamo
db676aee73
Update crates/meilisearch/src/routes/indexes/mod.rs
...
Co-authored-by: Louis Dureuil <louis@meilisearch.com>
2024-12-31 10:43:12 +01:00
Tamo
4eae92f411
fix list indexes
2024-12-26 18:48:25 +01:00
meili-bors[bot]
d3491851bc
Merge #5187
...
5187: Bring back v1.12.0 of pre-release changes into `main` r=irevoire a=curquiza
Co-authored-by: ManyTheFish <many@meilisearch.com>
Co-authored-by: Louis Dureuil <louis@meilisearch.com>
Co-authored-by: Clément Renault <clement@meilisearch.com>
Co-authored-by: meili-bors[bot] <89034592+meili-bors[bot]@users.noreply.github.com>
Co-authored-by: Many the fish <many@meilisearch.com>
2024-12-23 10:59:33 +00:00
michascant
f75d74a967
removed formating issue
2024-12-20 16:28:30 -05:00
michascant
42648919c7
updated settings to pass cargo fmt check
2024-12-19 10:24:15 -05:00
michascant
b39d4e9b50
removed unused import
2024-12-17 12:01:06 -05:00
michascant
a7b2f461cf
fixed the cargo errors that were occuring
2024-12-16 18:01:27 -05:00
michascant
9c857ff48f
handling error where multple attributes aren't allowed to be checked, only checking single now since this is being executed in make_setting_route
2024-12-16 16:08:22 -05:00
michascant
9eb4b84abd
now cheecking to enusre that all the settings in the struct are listed in this macro.
2024-12-16 13:23:24 -05:00
Tamo
b004db37c7
fmt
2024-12-16 15:59:26 +01:00
Tamo
0c04cd1d9f
make clippy happy
2024-12-16 15:52:47 +01:00
michascant
63ea405b3e
Merge branch 'release-v1.12.0' of https://github.com/meilisearch/meilisearch into configure_setting_routes_when_new_field_is_added
2024-12-13 13:08:45 -05:00
michascant
1a01196a80
removed the method outside of macro rules, no longer needed
2024-12-11 13:06:19 -05:00
michascant
f4ff722247
simplified the method in the macro
2024-12-11 12:00:39 -05:00
michascant
262b429a4c
updated to fix macro error by creating one method to ensure all routes corresponding to fields adn another to ensure each field provided in settings has a corresponding route
2024-12-11 10:43:13 -05:00
michascant
0a0a5f84bf
added attribute name such that each verify_field_exists generated by the macro is unique
2024-12-11 10:05:08 -05:00
michascant
c06f386ac3
specifying generic structure now for verifiy_field_exists
2024-12-11 09:36:36 -05:00
Kerollmops
5622b9607d
Wrap the read NDJSON pass into a tokio blocking
2024-12-11 12:18:36 +01:00
Kerollmops
69c931334f
Fix the error messages categorization with invalid NDJson
2024-12-11 12:02:48 +01:00
Kerollmops
d683f5980c
Do not duplicate NDJson when unecessary
2024-12-11 12:02:48 +01:00
michascant
2a04ecccc4
first commit
2024-12-11 01:43:37 -05:00
Kushal Kumar
34254b42b6
refactor: use test configuration on import
...
Signed-off-by: Kushal Kumar <kushalkumargupta4@gmail.com>
2024-12-10 00:00:43 +05:30
Kushal Kumar
c0aa018c87
tests: split test in separate file
...
Signed-off-by: Kushal Kumar <kushalkumargupta4@gmail.com>
2024-12-08 00:32:32 +05:30
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
airycanon
95ed079761
attach index name in errors
...
# Conflicts:
# crates/index-scheduler/src/batch.rs
# Conflicts:
# crates/index-scheduler/src/batch.rs
# crates/meilisearch/src/search/mod.rs
2024-12-06 01:12:13 +08:00
ManyTheFish
90b428a8c3
Apply change requests
2024-11-28 15:16:13 +01:00
ManyTheFish
9f36ffcbdb
Polish make_setting_routes!
2024-11-28 11:44:09 +01:00
ManyTheFish
68c4717e21
Change the settings tests and macros to avoid oversights
2024-11-28 11:34:35 +01:00
ManyTheFish
d66dc363ed
Test and implement settings opt-out
2024-11-25 18:23:22 +01:00
Tamo
106cc7fe3a
fmt
2024-11-04 17:51:40 +01:00
Tamo
cf6ad1ae5e
Merge branch 'main' into tmp-release-v1.11.0
2024-11-04 16:14:44 +01:00
Clément Renault
9c1e54a2c8
Move crates under a sub folder to clean up the code
2024-10-21 08:18:43 +02:00