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:08:24 +02:00 committed by GitHub
parent 9bdd040dd0
commit 7e0eed5772
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -283,7 +283,7 @@ fn compute_formatted_options(
query_crop_length: usize, query_crop_length: usize,
to_retrieve_ids: &BTreeSet<u16>, to_retrieve_ids: &BTreeSet<u16>,
fields_ids_map: &FieldsIdsMap, fields_ids_map: &FieldsIdsMap,
displayed_ids: &BTreeSet<u16>, displayed_ids: &BTreeSet<FieldId>,
) -> BTreeMap<FieldId, FormatOptions> { ) -> BTreeMap<FieldId, FormatOptions> {
let mut formatted_options = BTreeMap::new(); let mut formatted_options = BTreeMap::new();