Commit Graph

33 Commits

Author SHA1 Message Date
ZeFeng Yin cfbd3ca008
fix: Replace std::vector with std::array for distance impl (#201) 2026-03-07 17:49:19 +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 43e3eeac40
feat: support android platform cross build (#90) 2026-03-04 16:42:23 +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
longway 4e420311df
chore(flat): replace std::map with std::unordered_map for key_id_mapping_ (#153)
Reduces key lookup in get_id() from O(log N) to O(1) average, and index
load time from O(N log N) to O(N). Also lowers per-entry memory usage by
eliminating the three tree-node pointers (parent/left/right).

Co-authored-by: ZeFeng Yin <yinzefeng.yzf@alibaba-inc.com>
2026-02-28 13:10:38 +08:00
ZeFeng Yin ba6acbf48f
fix: ivf optimize (#169) 2026-02-27 17:35:52 +08:00
lichen2015 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
feihongxu0824 efc6f3f7ce
fix: add c++ example to macos/linux ci (#86) 2026-02-09 23:31:56 +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
Jalin Wang 78f08bd0cc
feat: auto scalable segment meta section of mmap files (#67)
The underly core module only support a fixed-size segment due to the index file format where the section of segments meta limit the max num of data segments. This commit makes the meta section dynamically allocated and organized in a link-table manner to support much more segments.


* revert local_builder's meta cap setting

* feat: auto scalable segment meta section of mmap files

* Revert "feat: auto scalable segment meta section of mmap files"

This reverts commit 82c11e451544b912b901be33fae79e964a487b1f.

* v2: don't change to absolute offset
2026-02-06 14:58:56 +08:00
lichen2015 f1349cc91a
fix: remove unnecessary column_name param from the AddColumn API (#59) 2026-02-04 14:44:13 +08:00
richyreachy a20d484e9e
refactor(core): unify search invoke (#15)
Co-authored-by: feihongxu0824 <xufeihong.xfh@alibaba-inc.com>
2026-02-03 12:40:23 +08:00
egolearner 6df6ba8fce
chore: rm IndexMeta::MetricType def (#53) 2026-02-03 11:17:02 +08:00
姚军 ea9d957893
fix: some typos in hnsw index (#50) 2026-02-03 10:41:21 +08:00
Jalin Wang ce45478dae
fix: doc string & pyi (#41) 2026-02-03 10:14:44 +08:00
iaojnh 8c1819ca26
change hnsw single dist to batch dist (#40) 2026-01-29 10:18:57 +08:00
egolearner 66f137efee
fix: fix MemoryReadStorage read by MemoryBlock (#38) 2026-01-27 14:11:28 +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 0af6a62c31
fix: flat support more segments (#32)
* fix

* fix compilation
2026-01-26 16:22:37 +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
richyreachy 614f955c5f
fix: remove empty files (#33) 2026-01-26 10:08:51 +08:00
Qinren Zhou 1763564705
minor: fix some debug strings (#31) 2026-01-22 11:42:12 +08:00
feihongxu0824 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
iaojnh e17c4a88bc
refactor: clarify HNSW 'scaling_factor' as 'm' instead of 50 (#17) 2026-01-12 20:05:29 +08:00
egolearner 89f9c378ac
fix: fix default m (#20)
* fix: fix default m

* fix doc str

* fix ut
2026-01-12 10:22:58 +08:00
Jalin Wang 84b5f03f5e
refactor: clarify HNSW 'm' as max neighbors of upper layer (#12)
* refactor: clarify HNSW 'm' as max neighbors of upper layer

- Distinguish l0/upper_max_neighbor_cnt
- Define l0_max_neighbor_cnt as m * l0_multiplier.

* fix ut
2026-01-08 16:31:14 +08:00
richyreachy 9c106775df
fix cpu detect (#14) 2026-01-08 16:27:47 +08:00
egolearner 788ecd5ee8
fix(sqlengine): reduce memory reserve size when topk is too big (#10) 2026-01-06 20:33:08 +08:00
feihongxu0824 1d9791b57a
feat(core): support cpu flag detect & dispatch (#3) 2025-12-30 18:42:47 +08:00
sanyi 6524fabd80 Initial commit 2025-12-30 11:02:17 +08:00