server: lint, including bug fix

This commit is contained in:
2024-10-27 12:03:16 -07:00
parent 6e15e69254
commit f678338822
2 changed files with 1 additions and 2 deletions

View File

@@ -230,7 +230,6 @@ impl TantivyConnection {
}
info!("tantivy::count {query:?}");
use tantivy::collector::Count;
let term = query.remainder.join(" ");
let (searcher, query) = self.searcher_and_query(&query)?;
Ok(searcher.search(&query, &Count)?)
}