mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 16:51:01 +00:00
Finally bump grenad to v0.4.1
This commit is contained in:
@ -29,6 +29,7 @@ pub enum InternalError {
|
||||
FieldIdMapMissingEntry(FieldIdMapMissingEntry),
|
||||
Fst(fst::Error),
|
||||
GrenadInvalidCompressionType,
|
||||
GrenadInvalidFormatVersion,
|
||||
IndexingMergingKeys { process: &'static str },
|
||||
InvalidDatabaseTyping,
|
||||
RayonThreadPool(ThreadPoolBuildError),
|
||||
@ -97,6 +98,9 @@ where
|
||||
grenad::Error::InvalidCompressionType => {
|
||||
Error::InternalError(InternalError::GrenadInvalidCompressionType)
|
||||
}
|
||||
grenad::Error::InvalidFormatVersion => {
|
||||
Error::InternalError(InternalError::GrenadInvalidFormatVersion)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -186,6 +190,9 @@ impl fmt::Display for InternalError {
|
||||
Self::GrenadInvalidCompressionType => {
|
||||
f.write_str("Invalid compression type have been specified to grenad.")
|
||||
}
|
||||
Self::GrenadInvalidFormatVersion => {
|
||||
f.write_str("Invalid grenad file with an invalid version format.")
|
||||
}
|
||||
Self::IndexingMergingKeys { process } => {
|
||||
write!(f, "Invalid merge while processing {}.", process)
|
||||
}
|
||||
|
Reference in New Issue
Block a user