mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-01-15 21:42:55 +00:00
log improvements (#1564)
This commit is contained in:
@@ -374,9 +374,9 @@ fn remap_and_write(
|
||||
doc_id_map,
|
||||
)?;
|
||||
|
||||
debug!("resort-docstore");
|
||||
// finalize temp docstore and create version, which reflects the doc_id_map
|
||||
if let Some(doc_id_map) = doc_id_map {
|
||||
debug!("resort-docstore");
|
||||
let store_write = serializer
|
||||
.segment_mut()
|
||||
.open_write(SegmentComponent::Store)?;
|
||||
|
||||
@@ -104,6 +104,13 @@ impl ZstdCompressor {
|
||||
value, opt_name, err
|
||||
)
|
||||
})?;
|
||||
if value >= 15 {
|
||||
warn!(
|
||||
"High zstd compression level detected: {:?}. High compression levels \
|
||||
(>=15) are slow and will limit indexing speed.",
|
||||
value
|
||||
)
|
||||
}
|
||||
compressor.compression_level = Some(value);
|
||||
}
|
||||
_ => {
|
||||
|
||||
Reference in New Issue
Block a user