diff --git a/meilisearch-http/src/routes/setting.rs b/meilisearch-http/src/routes/setting.rs index 773459b8c..f7fae0a6c 100644 --- a/meilisearch-http/src/routes/setting.rs +++ b/meilisearch-http/src/routes/setting.rs @@ -524,7 +524,7 @@ async fn delete_attributes_for_faceting( fn get_indexed_attributes(schema: &Schema) -> Vec { if schema.is_searchable_all() { - ["*"].iter().map(|s| s.to_string()).collect() + vec!["*".to_string()] } else { schema .searchable_names() diff --git a/meilisearch-http/tests/dump.rs b/meilisearch-http/tests/dump.rs index 5ab5db0db..9972a6e17 100644 --- a/meilisearch-http/tests/dump.rs +++ b/meilisearch-http/tests/dump.rs @@ -132,8 +132,6 @@ async fn get_dump_status_should_return_done() { let (value, status_code) = server.trigger_dump().await; - println!("value: {:#?}", value); - assert_eq!(status_code, 202); let dump_uid = value["uid"].as_str().unwrap().to_string(); diff --git a/meilisearch-schema/src/schema.rs b/meilisearch-schema/src/schema.rs index 6e42824f2..17377cedd 100644 --- a/meilisearch-schema/src/schema.rs +++ b/meilisearch-schema/src/schema.rs @@ -239,9 +239,6 @@ mod test { assert_eq!(position, 0.into()); } - #[test] - fn test_insert_with_position_non_all_searchable_attributes() {} - #[test] fn test_insert() { let mut schema = Schema::default();