mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 14:54:27 +01:00
fmt
This commit is contained in:
parent
97ef4a6c22
commit
f6d1fb7ac2
@ -173,7 +173,9 @@ impl Index {
|
|||||||
for (_id, obkv) in documents_iter {
|
for (_id, obkv) in documents_iter {
|
||||||
let document = make_document(&to_retrieve_ids, &fields_ids_map, obkv)?;
|
let document = make_document(&to_retrieve_ids, &fields_ids_map, obkv)?;
|
||||||
|
|
||||||
let matches_info = query.matches.then(|| compute_matches(&matching_words, &document));
|
let matches_info = query
|
||||||
|
.matches
|
||||||
|
.then(|| compute_matches(&matching_words, &document));
|
||||||
|
|
||||||
let formatted = format_fields(
|
let formatted = format_fields(
|
||||||
&fields_ids_map,
|
&fields_ids_map,
|
||||||
|
Loading…
Reference in New Issue
Block a user