fix: [2.5] update tantivy version to fix stemmper panic (#42172)

relate: https://github.com/milvus-io/milvus/issues/42168
pr: https://github.com/milvus-io/milvus/pull/42171

Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
This commit is contained in:
aoiasd 2025-05-30 14:06:29 +08:00 committed by GitHub
parent b7fc38286f
commit 6b0e602574
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 12 deletions

View File

@ -2927,7 +2927,7 @@ checksum = "e2355d85b9a3786f481747ced0e0ff2ba35213a1f9bd406ed906554d7af805a1"
[[package]]
name = "ownedbytes"
version = "0.6.0"
source = "git+https://github.com/milvus-io/tantivy?tag=0.21.1-fix3#fbf1fd51983b6ddc5777ea3c96823557b9da0473"
source = "git+https://github.com/zilliztech/tantivy?tag=0.21.1-fix4#bc211a5a76930b120b1eeb25073be27f20ba0387"
dependencies = [
"stable_deref_trait",
]
@ -3283,8 +3283,7 @@ dependencies = [
[[package]]
name = "rust-stemmers"
version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e46a2036019fdb888131db7a4c847a1063a7493f971ed94ea82c67eada63ca54"
source = "git+https://github.com/milvus-io/rust-stemmers.git#3b2545218f76e797baecbf91fa1cbd2c0db60726"
dependencies = [
"serde",
"serde_derive",
@ -3658,7 +3657,7 @@ dependencies = [
[[package]]
name = "tantivy"
version = "0.21.1"
source = "git+https://github.com/milvus-io/tantivy?tag=0.21.1-fix3#fbf1fd51983b6ddc5777ea3c96823557b9da0473"
source = "git+https://github.com/zilliztech/tantivy?tag=0.21.1-fix4#bc211a5a76930b120b1eeb25073be27f20ba0387"
dependencies = [
"aho-corasick",
"arc-swap",
@ -3740,7 +3739,7 @@ dependencies = [
[[package]]
name = "tantivy-bitpacker"
version = "0.5.0"
source = "git+https://github.com/milvus-io/tantivy?tag=0.21.1-fix3#fbf1fd51983b6ddc5777ea3c96823557b9da0473"
source = "git+https://github.com/zilliztech/tantivy?tag=0.21.1-fix4#bc211a5a76930b120b1eeb25073be27f20ba0387"
dependencies = [
"bitpacking",
]
@ -3748,7 +3747,7 @@ dependencies = [
[[package]]
name = "tantivy-columnar"
version = "0.2.0"
source = "git+https://github.com/milvus-io/tantivy?tag=0.21.1-fix3#fbf1fd51983b6ddc5777ea3c96823557b9da0473"
source = "git+https://github.com/zilliztech/tantivy?tag=0.21.1-fix4#bc211a5a76930b120b1eeb25073be27f20ba0387"
dependencies = [
"fastdivide",
"fnv",
@ -3763,7 +3762,7 @@ dependencies = [
[[package]]
name = "tantivy-common"
version = "0.6.0"
source = "git+https://github.com/milvus-io/tantivy?tag=0.21.1-fix3#fbf1fd51983b6ddc5777ea3c96823557b9da0473"
source = "git+https://github.com/zilliztech/tantivy?tag=0.21.1-fix4#bc211a5a76930b120b1eeb25073be27f20ba0387"
dependencies = [
"async-trait",
"byteorder",
@ -3786,7 +3785,7 @@ dependencies = [
[[package]]
name = "tantivy-query-grammar"
version = "0.21.0"
source = "git+https://github.com/milvus-io/tantivy?tag=0.21.1-fix3#fbf1fd51983b6ddc5777ea3c96823557b9da0473"
source = "git+https://github.com/zilliztech/tantivy?tag=0.21.1-fix4#bc211a5a76930b120b1eeb25073be27f20ba0387"
dependencies = [
"nom",
]
@ -3794,7 +3793,7 @@ dependencies = [
[[package]]
name = "tantivy-sstable"
version = "0.2.0"
source = "git+https://github.com/milvus-io/tantivy?tag=0.21.1-fix3#fbf1fd51983b6ddc5777ea3c96823557b9da0473"
source = "git+https://github.com/zilliztech/tantivy?tag=0.21.1-fix4#bc211a5a76930b120b1eeb25073be27f20ba0387"
dependencies = [
"tantivy-common",
"tantivy-fst",
@ -3804,7 +3803,7 @@ dependencies = [
[[package]]
name = "tantivy-stacker"
version = "0.2.0"
source = "git+https://github.com/milvus-io/tantivy?tag=0.21.1-fix3#fbf1fd51983b6ddc5777ea3c96823557b9da0473"
source = "git+https://github.com/zilliztech/tantivy?tag=0.21.1-fix4#bc211a5a76930b120b1eeb25073be27f20ba0387"
dependencies = [
"murmurhash32",
"tantivy-common",
@ -3813,7 +3812,7 @@ dependencies = [
[[package]]
name = "tantivy-tokenizer-api"
version = "0.2.0"
source = "git+https://github.com/milvus-io/tantivy?tag=0.21.1-fix3#fbf1fd51983b6ddc5777ea3c96823557b9da0473"
source = "git+https://github.com/zilliztech/tantivy?tag=0.21.1-fix4#bc211a5a76930b120b1eeb25073be27f20ba0387"
dependencies = [
"serde",
]

View File

@ -14,7 +14,7 @@ lindera-ko-dic = ["lindera/ko-dic"]
lindera-cc-cedict = ["lindera/cc-cedict"]
[dependencies]
tantivy = { git = "https://github.com/milvus-io/tantivy", tag = "0.21.1-fix3" } # we have make a private fix for milvus, should be removed in future after milvus fixing the bug.
tantivy = { git = "https://github.com/zilliztech/tantivy", tag = "0.21.1-fix4" } # we have make a private fix for milvus, should be removed in future after milvus fixing the bug.
lindera = "0.40.1"
futures = "0.3.21"
libc = "0.2"