Compare commits

..

7 Commits

Author SHA1 Message Date
Ryan Green dfe7851ea7 fix: error during deserialization of "INVERTED" index type 2024-10-25 14:51:08 -02:30
Ryan Green bbe5da8ece Merge branch 'refs/heads/main' into rpgreen/fix-inverted-deser
# Conflicts:
#	rust/lancedb/src/index.rs
2024-10-25 14:50:44 -02:30
Ryan Green 61c4c661f6 fix: error during deserialization of "INVERTED" index type 2024-10-25 14:49:30 -02:30
Ryan Green b9802a0d23 Revert "fix: error during deserialization of "INVERTED" index type"
This reverts commit 2ea5939f85.
2024-10-25 14:46:47 -02:30
Ryan Green c6141ee4b4 Revert "fix: error during deserialization of "INVERTED" index type"
This reverts commit 2ea5939f85.
2024-10-25 14:46:25 -02:30
Ryan Green 2ea5939f85 fix: error during deserialization of "INVERTED" index type 2024-10-25 14:40:14 -02:30
Lance Release 04e1f1ee4c Updating package-lock.json 2024-10-23 00:34:22 +00:00
5 changed files with 17 additions and 21 deletions
+8 -8
View File
@@ -20,15 +20,15 @@ keywords = ["lancedb", "lance", "database", "vector", "search"]
categories = ["database-implementations"]
[workspace.dependencies]
lance = { "version" = "=0.19.1", "features" = [
lance = { "version" = "=0.18.3", "features" = [
"dynamodb",
]}
lance-index = { "version" = "=0.19.1"}
lance-linalg = { "version" = "=0.19.1"}
lance-table = { "version" = "=0.19.1"}
lance-testing = { "version" = "=0.19.1"}
lance-datafusion = { "version" = "=0.19.1" }
lance-encoding = { "version" = "=0.19.1" }
], git = "https://github.com/lancedb/lance.git", tag = "v0.18.3-beta.2" }
lance-index = { "version" = "=0.18.3", git = "https://github.com/lancedb/lance.git", tag = "v0.18.3-beta.2" }
lance-linalg = { "version" = "=0.18.3", git = "https://github.com/lancedb/lance.git", tag = "v0.18.3-beta.2" }
lance-table = { "version" = "=0.18.3", git = "https://github.com/lancedb/lance.git", tag = "v0.18.3-beta.2" }
lance-testing = { "version" = "=0.18.3", git = "https://github.com/lancedb/lance.git", tag = "v0.18.3-beta.2" }
lance-datafusion = { "version" = "=0.18.3", git = "https://github.com/lancedb/lance.git", tag = "v0.18.3-beta.2" }
lance-encoding = { "version" = "=0.18.3", git = "https://github.com/lancedb/lance.git", tag = "v0.18.3-beta.2" }
# Note that this one does not include pyarrow
arrow = { version = "52.2", optional = false }
arrow-array = "52.2"
+7 -7
View File
@@ -1,12 +1,12 @@
{
"name": "vectordb",
"version": "0.11.1-beta.0",
"version": "0.11.1-beta.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "vectordb",
"version": "0.11.1-beta.0",
"version": "0.11.1-beta.1",
"cpu": [
"x64",
"arm64"
@@ -52,11 +52,11 @@
"uuid": "^9.0.0"
},
"optionalDependencies": {
"@lancedb/vectordb-darwin-arm64": "0.11.1-beta.0",
"@lancedb/vectordb-darwin-x64": "0.11.1-beta.0",
"@lancedb/vectordb-linux-arm64-gnu": "0.11.1-beta.0",
"@lancedb/vectordb-linux-x64-gnu": "0.11.1-beta.0",
"@lancedb/vectordb-win32-x64-msvc": "0.11.1-beta.0"
"@lancedb/vectordb-darwin-arm64": "0.11.1-beta.1",
"@lancedb/vectordb-darwin-x64": "0.11.1-beta.1",
"@lancedb/vectordb-linux-arm64-gnu": "0.11.1-beta.1",
"@lancedb/vectordb-linux-x64-gnu": "0.11.1-beta.1",
"@lancedb/vectordb-win32-x64-msvc": "0.11.1-beta.1"
},
"peerDependencies": {
"@apache-arrow/ts": "^14.0.2",
+1 -1
View File
@@ -3,7 +3,7 @@ name = "lancedb"
# version in Cargo.toml
dependencies = [
"deprecation",
"pylance==0.19.1",
"pylance==0.18.3-beta.2",
"requests>=2.31.0",
"tqdm>=4.27.0",
"pydantic>=1.10",
-2
View File
@@ -121,7 +121,6 @@ pub enum IndexType {
// FTS
#[serde(alias = "INVERTED")]
FTS,
INVERTED,
}
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"),
}
}
}
+1 -3
View File
@@ -82,7 +82,6 @@ pub mod merge;
pub use chrono::Duration;
pub use lance::dataset::optimize::CompactionOptions;
pub use lance_index::optimize::OptimizeOptions;
use lance_index::scalar::inverted::TokenizerConfig;
/// Defines the type of column
#[derive(Debug, Clone, Serialize, Deserialize)]
@@ -1569,7 +1568,6 @@ impl NativeTable {
let mut dataset = self.dataset.get_mut().await?;
let fts_params = lance_index::scalar::InvertedIndexParams {
with_position: fts_opts.with_position,
tokenizer_config: TokenizerConfig::default()
};
dataset
.create_index(
@@ -2004,7 +2002,7 @@ impl TableInternal for NativeTable {
self.dataset
.get_mut()
.await?
.add_columns(transforms, read_columns, None)
.add_columns(transforms, read_columns)
.await?;
Ok(())
}