mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
refactor formatter
share the analyzer instance between the formatter and the compute_matches function
This commit is contained in:
parent
eb3d63691a
commit
3456a78552
2 changed files with 52 additions and 24 deletions
|
@ -66,7 +66,7 @@ impl From<SearchQueryGet> for SearchQuery {
|
|||
crop_length: other.crop_length,
|
||||
attributes_to_highlight,
|
||||
filter,
|
||||
matches: other.matches.unwrap_or_default(),
|
||||
matches: other.matches,
|
||||
facet_distributions,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue