Xiaofan and GitHub
23d2553e4e
test: fix flaky test_hybrid_search_as_search on ARM ( #48173 )
...
## What does this PR do?
Fix a flaky test in `test_milvus_client_hybrid_search_v2.py`.
## Why?
`test_hybrid_search_as_search` asserts that hybrid search (single field
+ WeightedRanker) returns the same ordered result list as a regular
search. When two results have tied scores, tie-breaking order is
non-deterministic across architectures and runs due to floating-point
differences — this causes spurious failures on ARM e2e CI.
Comparing ID sets instead of ordered lists preserves the intent of the
test (same result candidates returned) while being robust to ordering of
ties.
---------
Signed-off-by: xiaofanluan <xiaofan.luan@zilliz.com >
2026-03-17 10:25:26 +08:00
9Eurydice9 and GitHub
662397e487
test: migrate test_query V2 cases for milvus client ( #44238 )
...
issue: #44090
Migrate test_query cases from TestcaseBase to TestMilvusClientV2Base
---------
Signed-off-by: Orpheus Wang <orpheus.wang@zilliz.com >
2025-09-12 09:31:57 +08:00
9Eurydice9 and GitHub
bfd42c9f9e
test: migrate test_query V2 cases for milvus client ( #44179 )
...
issue: #44090
Migrate test_query cases from TestcaseBase to TestMilvusClientV2Base
---------
Signed-off-by: Orpheus Wang <orpheus.wang@zilliz.com >
2025-09-04 13:07:53 +08:00
9Eurydice9 and GitHub
5092097461
test: migrate test_query V2 cases for milvus client ( #44117 )
...
issue: #44090
Migrate test_query cases from TestcaseBase to TestMilvusClientV2Base
---------
Signed-off-by: Orpheus Wang <orpheus.wang@zilliz.com >
2025-09-01 08:55:52 +08:00
9Eurydice9 and GitHub
d70607c342
test: migrate test_query V2 cases for milvus client ( #44091 )
...
issue: #44090
Migrate test_query cases from TestcaseBase to TestMilvusClientV2Base
Signed-off-by: Orpheus Wang <orpheus.wang@zilliz.com >
2025-08-28 09:13:50 +08:00
21d1fb2aa3
fix: fix move cursor bug for chunk segment with index ( #43095 )
...
#42974
Signed-off-by: luzhang <luzhang@zilliz.com >
Co-authored-by: luzhang <luzhang@zilliz.com >
2025-07-09 17:38:47 +08:00
nico and GitHub
a8d174a841
test: update nightly test cases ( #42991 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com >
2025-07-03 09:18:51 +08:00
cai.zhang and GitHub
57c60af00d
fix: Unsorted small segments should not be considered as indexed ( #42614 )
...
issue: #42143
---------
Signed-off-by: Cai Zhang <cai.zhang@zilliz.com >
2025-06-12 14:30:35 +08:00
yanliang567 and GitHub
d475d93a3d
test: Add ivf_rabitq index tests ( #41914 )
...
related issue: #41760
---------
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com >
2025-05-20 19:28:24 +08:00
yanliang567 and GitHub
ee659d50db
test: [E2e Refactor] update search basic tests and add a pk_name instead of hard code ( #41669 )
...
related issue: https://github.com/milvus-io/milvus/issues/40698
---------
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com >
2025-05-09 21:58:54 +08:00
39e7ad33d7
enhance: add optimize for like expr ( #41066 )
...
#41065
Signed-off-by: luzhang <luzhang@zilliz.com >
Co-authored-by: luzhang <luzhang@zilliz.com >
2025-05-08 14:28:52 +08:00
yanliang567 and GitHub
70b311735b
test: [E2e Refactor] use vector datatype instead of hard code dataype names ( #41497 )
...
related issue: #40698
1. use vector datat types instead of hard code datatpe names
2. update search pagination tests
3. remove checking distances in search results checking, for knowhere
customize the distances for different metrics and indexes. Now only
assert the distances are sorted correct.
---------
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com >
2025-04-25 10:46:38 +08:00
zhuwenxing and GitHub
b5fe6a5243
test: add icu tokenizer testcases ( #41501 )
...
/kind improvement
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com >
2025-04-24 18:54:38 +08:00
3bc24c264f
enhance: Add json key inverted index in stats for optimization ( #38039 )
...
Add json key inverted index in stats for optimization
https://github.com/milvus-io/milvus/issues/36995
---------
Signed-off-by: Xianhui.Lin <xianhui.lin@zilliz.com >
Co-authored-by: luzhang <luzhang@zilliz.com >
2025-04-10 15:20:28 +08:00
nico and GitHub
9a8d94998a
test: update cases for error message ( #39960 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com >
2025-02-28 17:36:02 +08:00
yihao.dai and GitHub
a148a78629
fix: Fix collections with duplicate names can be created ( #40143 )
...
This PR introduces two restrictions:
1. Before dropping a collection, all aliases associated with that
collection must be dropped.
2. When creating a collection, if the collection name duplicates any
alias, the collection creation will fail.
issue: https://github.com/milvus-io/milvus/issues/40142
---------
Signed-off-by: bigsheeper <yihao.dai@zilliz.com >
2025-02-27 17:27:57 +08:00
zhuwenxing and GitHub
01966280da
test: add run_analyzer api test and lindera tokenizer test ( #40160 )
...
/kind improvement
/hold
---------
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com >
2025-02-26 10:29:55 +08:00
zhuwenxing and GitHub
1e5d6c1545
test: remove xfail for text match testcases ( #39920 )
...
/kind improvement
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com >
2025-02-19 14:16:50 +08:00
yanliang567 and GitHub
6884319d03
test: [CP] add alter tests ( #38659 )
...
related issue: https://github.com/milvus-io/milvus/issues/38471
---------
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com >
2024-12-23 19:42:49 +08:00
Bingyi Sun and GitHub
3e2a2f278b
enhance: Handle rust error in c++ ( #38113 )
...
https://github.com/milvus-io/milvus/issues/37930
---------
Signed-off-by: sunby <sunbingyi1992@gmail.com >
2024-12-16 19:40:45 +08:00
zhuwenxing and GitHub
8188e1472d
test: add custom analyzer testcases ( #37781 )
...
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com >
2024-11-27 16:08:36 +08:00
zhuwenxing and GitHub
0b9edb62a9
test: add testcases contain growing segments ( #37262 )
...
/kind improvement
---------
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com >
2024-11-25 10:40:34 +08:00
zhuwenxing and GitHub
3f7352f3cf
test: remove xfail of fts test cases after fix ( #37724 )
...
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com >
2024-11-16 11:14:30 +08:00
yanliang567 and GitHub
af433ffd68
test: Add expression template tests and use error msg only as assertion ( #37618 )
...
related issue: https://github.com/milvus-io/milvus/issues/37451
---------
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com >
2024-11-13 17:14:30 +08:00
aoiasd and GitHub
12951f0abb
enhance: rename tokenizer to analyzer and check analyzer params ( #37478 )
...
relate: https://github.com/milvus-io/milvus/issues/35853
---------
Signed-off-by: aoiasd <zhicheng.yue@zilliz.com >
2024-11-10 16:12:26 +08:00
aoiasd and GitHub
d67853fa89
feat: Tokenizer support build with params and clone for concurrency ( #37048 )
...
relate: https://github.com/milvus-io/milvus/issues/35853
https://github.com/milvus-io/milvus/issues/36751
---------
Signed-off-by: aoiasd <zhicheng.yue@zilliz.com >
2024-11-06 17:48:24 +08:00
zhuwenxing and GitHub
0fc6c634b0
test: fix tokenizer and monkey patch faker function ( #37119 )
...
/kind improvement
---------
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com >
Signed-off-by: zhuwenxing <wxzhuyeah@gmail.com >
2024-11-05 08:42:23 +08:00
cai.zhang and GitHub
50de122dc7
enhance: Rename textmatch to text_match ( #37290 )
...
issue: #36672
Signed-off-by: Cai Zhang <cai.zhang@zilliz.com >
2024-11-03 18:40:27 +08:00
Zhen Ye and GitHub
889434691c
enhance: enable asan for e2e ( #37149 )
...
issue: #35854
---------
Signed-off-by: chyezh <chyezh@outlook.com >
2024-10-29 14:14:24 +08:00
zhuwenxing and GitHub
c8dd665bf6
test: supplementing case for text match ( #36693 )
...
/kind improvement
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com >
2024-10-28 10:31:40 +08:00
Yinzuo Jiang and GitHub
3628593d20
feat: Implement custom function module in milvus expr ( #36560 )
...
OSPP 2024 project:
https://summer-ospp.ac.cn/org/prodetail/247410235?list=org&navpage=org
Solutions:
- parser (planparserv2)
- add CallExpr in planparserv2/Plan.g4
- update parser_visitor and show_visitor
- grpc protobuf
- add CallExpr in plan.proto
- execution (`core/src/exec`)
- add `CallExpr` `ValueExpr` and `ColumnExpr` (both logical and
physical) for function call and function parameters
- function factory (`core/src/exec/expression/function`)
- create a global hashmap when starting milvus (see server.go)
- the global hashmap stores function signatures and their function
pointers, the CallExpr in execution engine can get the function pointer
by function signature.
- custom functions
- empty(string)
- starts_with(string, string)
- add cpp/go unittests and E2E tests
closes : #36559
Signed-off-by: Yinzuo Jiang <jiangyinzuo@foxmail.com >
2024-10-25 15:25:30 +08:00
yanliang567 and GitHub
0d376f1a8f
test: Add query iterator test and seperate a new test file ( #37085 )
...
related issue: #37084
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com >
2024-10-24 11:47:29 +08:00
nico and GitHub
937ebec2ce
test: update test cases ( #36841 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com >
2024-10-14 19:13:23 +08:00
yanliang567 and GitHub
621dbc9107
test: Add json key in [] test to verify issue 36718 ( #36738 )
...
related issue: #36718
---------
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com >
2024-10-11 14:29:21 +08:00
Buqian Zheng and GitHub
f7b811450d
feat: add enable_tokenizer params to VarChar field ( #36480 )
...
issue: #35922
add an enable_tokenizer param to varchar field: must be set to true so
that a varchar field can enable_match or used as input of BM25 function
---------
Signed-off-by: Buqian Zheng <zhengbuqian@gmail.com >
2024-10-10 20:33:21 +08:00
binbin and GitHub
d1d5a50014
test: add null and default test cases ( #36539 )
...
issue: #36129
Signed-off-by: binbin lv <binbin.lv@zilliz.com >
2024-09-29 09:39:22 +08:00
nico and GitHub
cfd636ed5b
test: add different language tests and modify some cases ( #36465 )
...
fix : #36396
Signed-off-by: nico <cheng.yuan@zilliz.com >
2024-09-26 09:21:13 +08:00
58baeee8f1
test: add query with text match filter ( #36381 )
...
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com >
Co-authored-by: yanliang567 <82361606+yanliang567@users.noreply.github.com >
2024-09-25 15:17:13 +08:00
qixuan and GitHub
51cdee1f84
test: Add query related test cases for default and null support ( #36277 )
...
issue: #36129
Signed-off-by: qixuan <673771573@qq.com >
2024-09-23 19:07:13 +08:00
208c8a2328
fix:support config index offsetcache and fix create same index again ( #35985 )
...
#35971
Signed-off-by: luzhang <luzhang@zilliz.com >
Co-authored-by: luzhang <luzhang@zilliz.com >
2024-09-08 18:23:05 +08:00
zhuwenxing and GitHub
57422cb2ed
test: add array inverted index function test ( #35874 )
...
/kind improvement
---------
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com >
2024-09-02 17:49:02 +08:00
yanliang567 and GitHub
7ac339ac64
test: Update init collection method ( #35596 )
...
Related issue: #32653
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com >
2024-08-21 09:22:56 +08:00
c19fe95154
fix: support string match for hybrid and bitmap index ( #35294 )
...
#34841
Signed-off-by: luzhang <luzhang@zilliz.com >
Co-authored-by: luzhang <luzhang@zilliz.com >
2024-08-07 09:54:22 +08:00
4b553b0333
enhance: revert remove duplicated pk function ( #35103 )
...
issue: #34778
Revert "fix: fix query count(*) concurrently"
Revert "enhance: mark duplicated pk as deleted "
Signed-off-by: luzhang <luzhang@zilliz.com >
Co-authored-by: luzhang <luzhang@zilliz.com >
2024-08-05 10:48:17 +08:00
a8a4779749
fix: fix parse plan proto failed for search type ( #34944 )
...
#25848
Signed-off-by: luzhang <luzhang@zilliz.com >
Co-authored-by: luzhang <luzhang@zilliz.com >
2024-07-29 21:19:49 +08:00
86322e0468
fix: fix query count(*) concurrently ( #35007 )
...
#34778
#34849
fix two problems:
1. count(*) incorrect, if growing insert duplicated (pk, timestamp)
pairs that pk and timestamp all same, need to keep just one pair.
2. count(*) may core dump, if get_real_count interface get snapshot and
do mvcc at not consistency status, mainly happens under concurrency.
Signed-off-by: luzhang <luzhang@zilliz.com >
Co-authored-by: luzhang <luzhang@zilliz.com >
2024-07-29 19:53:50 +08:00
yanliang567 and GitHub
f3f390ea43
test: Update tests for range search and add test for query with dup ids ( #34057 )
...
related issue: #33883
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com >
2024-06-21 18:48:02 +08:00
elstic and GitHub
1216a4bcd8
test: Add more sparse test cases ( #33916 )
...
issue: https://github.com/milvus-io/milvus/issues/31483
Signed-off-by: elstic <hao.wang@zilliz.com >
2024-06-19 15:24:09 +08:00
nico and GitHub
b748d8af5d
test: add different datatype for some functions ( #33869 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com >
2024-06-14 17:51:57 +08:00
yanliang567 and GitHub
ba3b2a91a0
test: Remove useless common types and refine error assert in negative cases ( #33023 )
...
Related issue: #32653
1. Remove some meaningless common types
2. Refine error assertion in negative cases
3. Remove some dup tests
---------
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com >
2024-05-14 15:03:33 +08:00