remove the useless prints

This commit is contained in:
Tamo 2022-07-07 15:02:06 +02:00 committed by Irevoire
parent f156d7dd3b
commit 7fc35c5586
No known key found for this signature in database
GPG Key ID: 7A6A970C96104F1B

View File

@ -411,11 +411,6 @@ impl<'a, 'i> Transform<'a, 'i> {
rtxn: &RoTxn, rtxn: &RoTxn,
field_distribution: &mut FieldDistribution, field_distribution: &mut FieldDistribution,
) -> Result<()> { ) -> Result<()> {
println!(
"The following documents are going to be deleted from the field distribution: {:?}",
self.replaced_documents_ids
);
for deleted_docid in self.replaced_documents_ids.iter() { for deleted_docid in self.replaced_documents_ids.iter() {
let obkv = self.index.documents.get(rtxn, &BEU32::new(deleted_docid))?.ok_or( let obkv = self.index.documents.get(rtxn, &BEU32::new(deleted_docid))?.ok_or(
InternalError::DatabaseMissingEntry { db_name: db_name::DOCUMENTS, key: None }, InternalError::DatabaseMissingEntry { db_name: db_name::DOCUMENTS, key: None },
@ -483,7 +478,6 @@ impl<'a, 'i> Transform<'a, 'i> {
let mut documents_count = 0; let mut documents_count = 0;
while let Some((key, val)) = iter.next()? { while let Some((key, val)) = iter.next()? {
println!("Reading a document");
// send a callback to show at which step we are // send a callback to show at which step we are
documents_count += 1; documents_count += 1;
progress_callback(UpdateIndexingStep::ComputeIdsAndMergeDocuments { progress_callback(UpdateIndexingStep::ComputeIdsAndMergeDocuments {