add a bunch of tests and fix the error message when adding the geosearch as filterable/sortable while there is malformed documents in the DB

This commit is contained in:
Tamo 2024-01-17 15:51:52 +01:00 committed by Louis Dureuil
parent 6d111139b5
commit 318843aacd
No known key found for this signature in database
3 changed files with 180 additions and 3 deletions

View file

@ -64,7 +64,7 @@ impl Display for Value {
write!(
f,
"{}",
json_string!(self, { ".enqueuedAt" => "[date]", ".processedAt" => "[date]", ".finishedAt" => "[date]", ".duration" => "[duration]" })
json_string!(self, { ".enqueuedAt" => "[date]", ".startedAt" => "[date]", ".finishedAt" => "[date]", ".duration" => "[duration]" })
)
}
}