fix rebase errors

This commit is contained in:
marin postma 2021-06-21 12:09:59 +02:00
parent 0bfdf9a785
commit 763ee521be
No known key found for this signature in database
GPG Key ID: 6088B7721C3E39F9
2 changed files with 1 additions and 3 deletions

View File

@ -103,7 +103,6 @@ impl Index {
let displayed_ids = self
.displayed_fields_ids(&rtxn)?
.map_err(|e| IndexError::Internal(Box::new(e)))?
.map(|fields| fields.into_iter().collect::<BTreeSet<_>>())
.unwrap_or_else(|| fields_ids_map.iter().map(|(id, _)| id).collect());
@ -165,7 +164,7 @@ impl Index {
let documents_iter = self.documents(&rtxn, documents_ids)?;
for (_id, obkv) in self.documents(&rtxn, documents_ids)? {
for (_id, obkv) in documents_iter {
let document = make_document(&to_retrieve_ids, &fields_ids_map, obkv)?;
let formatted = format_fields(
&fields_ids_map,

View File

@ -1,5 +1,4 @@
use std::collections::{BTreeSet, HashSet};
use std::convert::{TryFrom, TryInto};
use actix_web::{get, post, web, HttpResponse};
use serde::Deserialize;