Update meilisearch-http/src/index/search.rs

Co-authored-by: marin <postma.marin@protonmail.com>
This commit is contained in:
Clémentine Urquizar 2021-07-28 12:10:25 +02:00 committed by GitHub
parent 6a6e2a8cd1
commit 1df8f041bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -281,7 +281,7 @@ fn compute_formatted_options(
attr_to_highlight: &HashSet<String>,
attr_to_crop: &[String],
query_crop_length: usize,
to_retrieve_ids: &BTreeSet<u16>,
to_retrieve_ids: &BTreeSet<FieldId>,
fields_ids_map: &FieldsIdsMap,
displayed_ids: &BTreeSet<FieldId>,
) -> BTreeMap<FieldId, FormatOptions> {