luoxiaojian
efab064676
feat: refac entity and impl Vamana. ( #371 )
2026-04-30 10:22:25 +08:00
ZeFeng Yin
005680522b
feat: merge vector arrow buffer ( #320 )
2026-04-29 19:24:50 +08:00
ZeFeng Yin
07e986d3d5
fix: hnsw chunk size init ( #372 )
2026-04-29 10:50:16 +08:00
ZeFeng Yin
06e2845069
fix hnsw_streamer_test ( #375 )
2026-04-28 19:12:32 +08:00
egolearner
2b16ed39cd
chore: rm hnsw-rabitq searcher/streamer ( #367 )
...
* chore: rm hnsw-rabitq searcher/streamer
* fix clang-tidy
* fix
2026-04-23 10:20:46 +08:00
ZeFeng Yin
4a4c02c1a5
chore: rm hnsw builder/searcher ( #356 )
2026-04-21 10:44:06 +08:00
1e25294c07
feat(ci): integrate clang-tidy for changed C/C++ files ( #116 )
...
* feat(ci): add clang-tidy checks for changed cpp files
* fix(ci): correct clang-tidy workflow heredoc indentation
* test: stabilize fp16 euclidean matrix comparison
* test: fix fp16 matrix CI and clang-tidy warnings
* ci: scope clang-tidy PR and filter compile-db files
* check nullptr only
* fix nullptr
* fix: format
* chore: ignore c
* fix: tests files
* fix: workflow
* fix: specify clang-tidy version
* fix: filter regex
* fix: more files
* fix: update version
* add thirdparty cache
* add pipeline dependency
* fix clang-tidy trigger
---------
Co-authored-by: kgeg401 <kgeg401@users.noreply.github.com >
Co-authored-by: jiliang.ljl <jiliang.ljl@alibaba-inc.com >
2026-04-20 20:14:21 +08:00
Qinren Zhou
c17bd8876e
fix: validate query_params type ( #351 )
2026-04-20 10:54:06 +08:00
Qinren Zhou
f602ed30ce
feat: enlarge topK limit ( #348 )
2026-04-17 17:51:07 +08:00
Jalin Wang
95d092e9b3
fix: relax collection path restriction ( #340 )
2026-04-16 15:26:15 +08:00
Zihao Wang and rayx
d29bffca39
fix(quantizer): use rounded int8 values for SQ8 metadata to fix recall drop ( #329 )
...
fixes #328
Problem:
SQ8 metadata (squared_sum, sum) was computed from pre-rounded float
values, causing mismatch with actual stored int8 values. On asymmetric
datasets (e.g. OpenAI 1536D where |x_min| >> x_max), this leads to
severe recall drop.
Solution:
Move std::round before accumulating squared_sum and sum.
Co-authored-by: rayx <rui.xing@alibaba-inc.com >
2026-04-16 10:07:14 +08:00
feihongxu0824
6737810190
ci: refact android ci ( #330 )
2026-04-15 15:37:51 +08:00
Qinren Zhou
044a377eee
fix: crash recovery ut ( #336 )
2026-04-14 23:35:51 +08:00
feihongxu0824
30a20e14b0
feat: add iOS build support ( #321 )
...
* support ios build
* fix: ci
* fix: update build_ios.sh
* fix: pr
* fix: cmake minimum version
* fix: cmake minimum version
* fix: cmake minimum version in ci
* fix: add all test in ci
* fix: ci
2026-04-09 16:14:26 +08:00
lichen2015
6ac9bb0177
fix: refact c struct name ( #302 )
2026-04-02 14:54:03 +08:00
ZeFeng Yin
e2b0903fa5
fix: hnsw_streamer_test ut ( #299 )
2026-04-02 11:40:10 +08:00
Jalin Wang
ca4b893755
fix: misc fix for Windows(BUILD_SHARED_LIBS, CI) ( #296 )
2026-04-02 09:23:35 +08:00
lichen2015
7af6a31ae8
fix: c api ut crash on window platform ( #298 )
...
* fix c api ut
* remove c query_by_group
2026-04-01 15:46:15 +08:00
lichen2015 and Donny/강동윤
ed8c010cfd
feat: add c language support ( #167 )
...
* init branch
Add GitHub Actions release workflow for C API
add release linux-arm64
remove c api version
refact some code
add api reference
* feat(c-api): add nullable/doc-result APIs for agency migration (#234 )
* Flattened index parameters structure
* refact c api code
* remove RAII guard
* refact use opaque pointer pattern
* refact version info
* refact use pure opaque pointers
* use typedef instead of enum
* fix set_last_error
* fix build yml
* fix doc.h
* remove wheel exclude
* fix c msvc link
* remove release yml
* fix c link libstdc++
* fix c link libgcc
---------
Co-authored-by: Donny/강동윤 <kdy.1997.dev@gmail.com >
2026-03-31 18:00:08 +08:00
Jalin Wang
8182cfff93
feat: windows support ( #216 )
...
Preliminary support for Windows with remaining TODOs
2026-03-30 20:47:34 +08:00
Qinren Zhou
ae345ad070
fix: recovery from crash during optimization ( #246 )
2026-03-24 10:53:16 +08:00
rayx
31aaa2febb
feat: add euclidean one2many ( #188 )
...
* add euclidean one2many implementation
2026-03-23 20:20:48 +08:00
egolearner
cca16341c0
build: use PROJECT_ROOT_DIR to fix build as submodule ( #250 )
2026-03-23 14:49:17 +08:00
rayx
b49833bf56
Refactor/add scalar dist function and setup cmake with detailed cpu flag ( #238 )
...
* fix: add scalar
* fix: add avx512fp16
* fix: cmake config
2026-03-20 09:53:48 +08:00
egolearner
e5ba11b6fe
feat: add hnsw-rabitq support ( #69 )
...
* feat: add hnsw-rabitq
* undefine transform
* support config rotator type
* support sample_count
* fix ut
* refactor: update interface
* refactor: update interface
* update rabitq index params
* fix interface update
* fix searcher test
* fix streamer test
* streamer support bf and add more ut
* rm env check
* add collection ut
* add schema check
* add rabitq query param binding
* add integration test
* fix local_builder
* cleanup dist calculator
* add RaBitQ-Library submodule
* cleanup rabitq converter/reformer
* add files
* disable build on mac
* disable Feature_Optimize_HNSW_RABITQ
* disable python/tests/test_collection_hnsw_rabitq.py:13
* check avx2/avx512
* fix refine
* fix mac ci
* add dimension check
* fix mac ci
* fix ci
* add missing lib
* fix centroids selection for Cosine/InnerProduct
* rename hnsw-rabitq to hnsw_rabitq
* address comments
* fix compile
* fix rabitqlib name
* fix mac compile
* check avx2/avx512 support
* runtime check again compile-time
* check AUTO_DETECT_ARCH
* rm debug log
* fix
* rabitq use avx2 by default
* add missing file
* fix search_bf/group_by dist
* address comments
* fix typo
* address comments
* rabitq support disable id_map
* address comments
2026-03-19 17:21:42 +08:00
ZeFeng Yin
432de52c5f
[enhance] buffer storage ( #83 )
2026-03-19 15:24:46 +08:00
rayx
f9a5ef9432
fix: fix ut for sparse builder dump time ( #237 )
...
* fix ut for sparse builder dump time
2026-03-17 19:59:27 +08:00
Qinren Zhou
3c1241f7c6
feat: enlarge indice size limit for sparse vectors ( #229 )
2026-03-16 17:12:24 +08:00
Qinren Zhou
9314cb14a6
fix: use per-block filter instead of per-segment filter during query ( #223 )
...
* fix: id mismatch
* fix: remove debug string
* fix: use protected
* chore(comment): add comments
* feat: more ut
* Update vector_recall_test.cc
* fix: resolve comments
2026-03-16 10:55:51 +08:00
luoxiaojian
79387c237f
feat: enable icelake and l2 batch distance for int8 quantization. ( #213 )
2026-03-13 17:26:22 +08:00
Qinren Zhou
27c1248b9f
fix: compilation warning in ut ( #217 )
2026-03-12 17:35:26 +08:00
Qinren Zhou
331933c75a
fix: clean up crash residue ( #208 )
2026-03-11 15:55:13 +08:00
feihongxu0824
fb0b900a80
fix(build): replace CMAKE_SOURCE_DIR with PROJECT_ROOT_DIR for subproject builds ( #195 )
2026-03-04 20:01:52 +08:00
feihongxu0824
24d877da5e
fix: Replace VLAs with std::vector for MSVC compatibility and stack safety ( #190 )
2026-03-03 10:07:21 +08:00
ZeFeng Yin
596d5795e9
test: fix ut random float ( #182 )
2026-02-28 16:11:13 +08:00
Maxime Grenu
3c38a8b94c
feat: add Python 3.13 and 3.14 support ( #164 )
...
* feat: add Python 3.13 and 3.14 support
- Add Python 3.13 and 3.14 classifiers to pyproject.toml
- Add cp313 and cp314 cibuildwheel build targets
- Add Python 3.13 and 3.14 to CI test matrix
- Enable allow-prereleases for setup-python (required for 3.14 alpha)
Signed-off-by: Maxime Grenu <maxime.grenu@gmail.com >
* ci: retrigger (flaky Int4SquaredEuclideanMetric tolerance on linux-x64)
Signed-off-by: Maxime Grenu <maxime.grenu@gmail.com >
* fix: widen Int4 distance matrix test tolerance from 1e-4 to 5e-4
Int4 quantization uses only 16 levels per dimension (vs 256 for Int8),
resulting in larger rounding errors in distance computations. The
previous 1e-4 absolute tolerance was too tight and caused flaky
failures (observed diff: 1.22e-4 on values ~523.77). The Int8 test
already has this EXPECT_NEAR commented out, relying solely on the
relative IsAlmostEqual check.
Signed-off-by: Maxime Grenu <maxime.grenu@gmail.com >
* fix: remove allow-prereleases flag for Python 3.14
Python 3.14 is now a stable release (v3.14.3, released Oct 2025),
so allow-prereleases: true is no longer needed in setup-python.
Signed-off-by: Maxime Kawawa-Beaudan <maxkb@meta.com >
Signed-off-by: Maxime Grenu <maxime.grenu@gmail.com >
---------
Signed-off-by: Maxime Grenu <maxime.grenu@gmail.com >
Signed-off-by: Maxime Kawawa-Beaudan <maxkb@meta.com >
2026-02-28 14:37:43 +08:00
ZeFeng Yin
ba6acbf48f
fix: ivf optimize ( #169 )
2026-02-27 17:35:52 +08:00
Cuiys
e60ae09e5a
feat(ci): macos ci with github-runner ( #94 )
2026-02-13 14:41:57 +08:00
lichen2015 and yinzefeng.yzf
e7ad7cc31e
fix: combined indexer should use key instead of index ( #87 )
...
Co-authored-by: yinzefeng.yzf <yinzefeng.yzf@alibaba-inc.com >
2026-02-12 10:38:05 +08:00
ZeFeng Yin
44fd16511f
test: rm useless expect ( #82 )
...
* rm useless expect
* Delete tests/core/algorithm/hnsw/hnsw_streamer_buffer_test.cc
2026-02-10 10:38:53 +08:00
feihongxu0824
1e09d0d34c
chore: rm useless ailego module ( #85 )
2026-02-09 18:56:46 +08:00
lichen2015
fe90f70a3b
fix: delete_by_filter should use g_doc_id ( #84 )
2026-02-09 17:40:51 +08:00
Qinren Zhou
0b9bd34354
minor: subsequent initialization should fail silently ( #79 )
2026-02-06 21:16:08 +08:00
lichen2015
f1349cc91a
fix: remove unnecessary column_name param from the AddColumn API ( #59 )
2026-02-04 14:44:13 +08:00
ZeFeng Yin
6680c619be
fix ut for quantized int ( #47 )
2026-02-02 20:13:21 +08:00
feihongxu0824
0ebf5621a6
feat: support core cpp sdk ( #30 )
...
* support core cpp sdk
* fix
* fix
* fix
* fix cr
2026-01-26 20:01:44 +08:00
Jalin Wang
bc90952a01
refactor: flat param string cleanup ( #28 )
...
* refactor: flat param string cleanup
* fix
2026-01-26 14:49:35 +08:00
feihongxu0824 and zhouqinren.zqr
e957442355
feat: refact cpp sdk ( #27 )
...
* refact cpp sdk
---------
Co-authored-by: zhouqinren.zqr <zhouqinren.zqr@alibaba-inc.com >
2026-01-21 20:05:42 +08:00
lichen2015
08d680bd4f
fix: fix and refact segment fetch perf ( #26 )
...
* fix and refact fetch perf
* change git user name
2026-01-19 13:43:30 +08:00
feihongxu0824
1d9791b57a
feat(core): support cpu flag detect & dispatch ( #3 )
2025-12-30 18:42:47 +08:00