Log more to make sure we insert vectors in the hgg data-structure

This commit is contained in:
Kerollmops 2023-06-14 14:17:55 +02:00 committed by Clément Renault
parent 5816008139
commit aca305bb77
No known key found for this signature in database
GPG Key ID: 92ADA4E935E71FA4

View File

@ -234,6 +234,7 @@ pub(crate) fn write_typed_chunk_into_index(
// TODO enable again when the library is fixed // TODO enable again when the library is fixed
hgg.insert(pod_collect_to_vec(value), docid); hgg.insert(pod_collect_to_vec(value), docid);
} }
log::debug!("There are {} entries in the HGG so far", hgg.len());
index.put_vector_hgg(wtxn, &hgg)?; index.put_vector_hgg(wtxn, &hgg)?;
} }
TypedChunk::ScriptLanguageDocids(hash_pair) => { TypedChunk::ScriptLanguageDocids(hash_pair) => {