This commit is contained in:
marin postma 2021-06-22 10:08:38 +02:00 committed by Tamo
parent 97ef4a6c22
commit f6d1fb7ac2
No known key found for this signature in database
GPG Key ID: 20CD8020AFA88D69

View File

@ -173,7 +173,9 @@ impl Index {
for (_id, obkv) in documents_iter {
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(
&fields_ids_map,