mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-30 00:34:26 +01:00
remove the useless prints
This commit is contained in:
parent
f156d7dd3b
commit
7fc35c5586
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user