mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
Add custom croplength for attributes to crop
This commit is contained in:
parent
811bc2f421
commit
0da8fa115e
2 changed files with 45 additions and 18 deletions
|
@ -40,7 +40,7 @@ impl TryFrom<SearchQueryGet> for SearchQuery {
|
|||
|
||||
let attributes_to_crop = other
|
||||
.attributes_to_crop
|
||||
.map(|attrs| attrs.split(',').map(String::from).collect::<HashSet<_>>());
|
||||
.map(|attrs| attrs.split(',').map(String::from).collect::<Vec<_>>());
|
||||
|
||||
let attributes_to_highlight = other
|
||||
.attributes_to_highlight
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue