mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
WIP: dump
This commit is contained in:
parent
0275b36fb0
commit
0f94ef8abc
10 changed files with 64 additions and 40 deletions
|
@ -19,7 +19,7 @@ async fn get_settings() {
|
|||
assert_eq!(settings.keys().len(), 6);
|
||||
assert_eq!(settings["displayedAttributes"], json!(["*"]));
|
||||
assert_eq!(settings["searchableAttributes"], json!(["*"]));
|
||||
assert_eq!(settings["attributesForFaceting"], json!(null));
|
||||
assert_eq!(settings["attributesForFaceting"], json!({}));
|
||||
assert_eq!(settings["distinctAttribute"], json!(null));
|
||||
assert_eq!(
|
||||
settings["rankingRules"],
|
||||
|
@ -82,7 +82,9 @@ async fn reset_all_settings() {
|
|||
assert_eq!(response["searchableAttributes"], json!(["bar"]));
|
||||
assert_eq!(response["stopWords"], json!(["the"]));
|
||||
|
||||
eprintln!("BEFORE");
|
||||
index.delete_settings().await;
|
||||
eprintln!("AFTER");
|
||||
index.wait_update_id(1).await;
|
||||
|
||||
let (response, code) = index.settings().await;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue