mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
Highlight all the matching words
This commit is contained in:
parent
085c376655
commit
9ade00e27b
3 changed files with 18 additions and 8 deletions
|
@ -58,7 +58,7 @@ fn main() -> anyhow::Result<()> {
|
|||
let before = Instant::now();
|
||||
|
||||
let query = result?;
|
||||
let documents_ids = index.search(&rtxn, &query)?;
|
||||
let (_, documents_ids) = index.search(&rtxn, &query)?;
|
||||
let headers = match index.headers(&rtxn)? {
|
||||
Some(headers) => headers,
|
||||
None => return Ok(()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue