implement matches

This commit is contained in:
marin postma 2021-06-21 23:38:59 +02:00 committed by Tamo
parent db7215eaa9
commit 97ef4a6c22
No known key found for this signature in database
GPG key ID: 20CD8020AFA88D69
2 changed files with 309 additions and 107 deletions

View file

@ -66,7 +66,7 @@ impl From<SearchQueryGet> for SearchQuery {
crop_length: other.crop_length,
attributes_to_highlight,
filter,
matches: Some(other.matches),
matches: other.matches.unwrap_or_default(),
facet_distributions,
}
}