mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-23 02:27:40 +08: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