mirror of
https://github.com/lancedb/lancedb.git
synced 2026-01-06 03:42:57 +00:00
fix: error during deserialization of "INVERTED" index type
This commit is contained in:
@@ -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"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user