fix: error during deserialization of "INVERTED" index type

This commit is contained in:
Ryan Green
2024-10-25 14:52:29 -02:30
parent b898b3dcd6
commit 4bee551465

View File

@@ -119,9 +119,8 @@ pub enum IndexType {
#[serde(alias = "LABEL_LIST")]
LabelList,
// FTS
FTS,
#[serde(alias = "INVERTED")]
Inverted,
FTS,
}
impl std::fmt::Display for IndexType {
@@ -134,7 +133,6 @@ impl std::fmt::Display for IndexType {
Self::Bitmap => write!(f, "BITMAP"),
Self::LabelList => write!(f, "LABEL_LIST"),
Self::FTS => write!(f, "FTS"),
Self::Inverted => write!(f, "FTS"),
}
}
}