mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-30 02:09:57 +00:00
Highlight all the matching words
This commit is contained in:
@ -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(()),
|
||||
|
Reference in New Issue
Block a user