mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-28 01:01:00 +00:00
use a bufreader everytime there is a grenad<file>
This commit is contained in:
@ -659,8 +659,12 @@ impl<'a, 'i> Transform<'a, 'i> {
|
||||
new_documents_ids: self.new_documents_ids,
|
||||
replaced_documents_ids: self.replaced_documents_ids,
|
||||
documents_count: self.documents_count,
|
||||
original_documents,
|
||||
flattened_documents,
|
||||
original_documents: original_documents
|
||||
.into_inner()
|
||||
.map_err(|err| InternalError::BufIntoInnerError(err.to_string()))?,
|
||||
flattened_documents: flattened_documents
|
||||
.into_inner()
|
||||
.map_err(|err| InternalError::BufIntoInnerError(err.to_string()))?,
|
||||
})
|
||||
}
|
||||
|
||||
@ -779,8 +783,12 @@ impl<'a, 'i> Transform<'a, 'i> {
|
||||
new_documents_ids: documents_ids,
|
||||
replaced_documents_ids: RoaringBitmap::default(),
|
||||
documents_count,
|
||||
original_documents,
|
||||
flattened_documents,
|
||||
original_documents: original_documents
|
||||
.into_inner()
|
||||
.map_err(|err| InternalError::BufIntoInnerError(err.to_string()))?,
|
||||
flattened_documents: flattened_documents
|
||||
.into_inner()
|
||||
.map_err(|err| InternalError::BufIntoInnerError(err.to_string()))?,
|
||||
};
|
||||
|
||||
let new_facets = output.compute_real_facets(wtxn, self.index)?;
|
||||
|
Reference in New Issue
Block a user