diff --git a/crates/tabby-common/src/index/mod.rs b/crates/tabby-common/src/index/mod.rs index 8524499fc2aa..4c35ba73c19d 100644 --- a/crates/tabby-common/src/index/mod.rs +++ b/crates/tabby-common/src/index/mod.rs @@ -249,9 +249,10 @@ impl IndexSchema { // Must has the failed_chunks_count field ( Occur::Must, - Box::new(ExistsQuery::new_exists_query( - format!("{}.{}", FIELD_ATTRIBUTES, field), - )), + Box::new(ExistsQuery::new_exists_query(format!( + "{}.{}", + FIELD_ATTRIBUTES, field + ))), ), ]) } diff --git a/crates/tabby-index/src/indexer_tests.rs b/crates/tabby-index/src/indexer_tests.rs index dde124974267..520956d501ce 100644 --- a/crates/tabby-index/src/indexer_tests.rs +++ b/crates/tabby-index/src/indexer_tests.rs @@ -165,7 +165,6 @@ mod structured_doc_tests { let updated_at = chrono::Utc::now(); let res = tokio::runtime::Runtime::new().unwrap().block_on(async { - indexer .sync( StructuredDocState {