Change to meilitool after rebase

This commit is contained in:
Louis Dureuil
2025-01-23 16:59:23 +01:00
parent 182c3f4b80
commit 86bf231d29
2 changed files with 12 additions and 12 deletions

View File

@ -187,7 +187,7 @@ fn export_a_dump(
db_path: PathBuf,
dump_dir: PathBuf,
skip_enqueued_tasks: bool,
detected_version: (String, String, String),
detected_version: (u32, u32, u32),
) -> Result<(), anyhow::Error> {
let started_at = OffsetDateTime::now_utc();
@ -253,12 +253,7 @@ fn export_a_dump(
if status == Status::Enqueued {
let content_file = file_store.get_update(content_file_uuid)?;
if (
detected_version.0.as_str(),
detected_version.1.as_str(),
detected_version.2.as_str(),
) < ("1", "12", "0")
{
if (detected_version.0, detected_version.1, detected_version.2) < (1, 12, 0) {
eprintln!("Dumping the enqueued tasks reading them in obkv format...");
let reader =
DocumentsBatchReader::from_reader(content_file).with_context(|| {