Commit graph

30 commits

Author SHA1 Message Date
asonix 39b3fed29c Remove dedicated hyperthread maintenance threads 2023-07-05 18:16:34 -05:00
asonix 2d5c5e9061 Add PoolBuilder, set better thread names 2023-07-04 17:52:07 -05:00
asonix 756d989195 Add and propogate tracing 2023-07-04 17:39:17 -05:00
asonix f357ac487b Clippy warnings 2023-07-04 14:08:31 -05:00
asonix c0e2176555 Add conditional maintenance queue, fix rebuild guard 2023-07-04 12:08:20 -05:00
asonix b7dff25921 Rework threading. Add async support.
TODO: maintenance thread spins perpetually - should check rebuild requirements on insert
2023-07-03 23:25:41 -05:00
asonix 23fe7c38a6 Add optional threshold to similarity search 2023-07-02 18:41:55 -05:00
asonix 58051ee3cf Start building hypertrees at lower vector counts 2023-07-02 16:46:17 -05:00
asonix d5f2e45fe3 Update internal vector table on rebuild 2023-07-02 15:35:21 -05:00
asonix e00eca23e3 Some prints 2023-07-02 15:21:02 -05:00
asonix d2039297c5 Cleanup on open, don't set cleanup before leaving rebuild 2023-07-02 15:16:10 -05:00
asonix d9725f9bb2 Add method to rebuild all hypertrees 2023-07-02 15:04:07 -05:00
asonix b5ec92ff0e Implement Error for error types 2023-07-02 10:35:39 -05:00
asonix 57425c3b35 Enable finding dissimilar vectors to feel better about how it works 2023-07-01 22:55:33 -05:00
asonix a4ddfc6dd4 Switch to runtime hypertree configuration 2023-07-01 22:06:27 -05:00
asonix d50b2ac8c2 Pick up .drain fix 2023-07-01 22:03:34 -05:00
asonix 9a03220bb3 Finish rewrite, strongly type IDs, parallelize hypertrees 2023-07-01 21:54:07 -05:00
asonix a40fb7b041 WIP: Split hypertree logic into own database 2023-07-01 16:19:57 -05:00
asonix 8fd75dff3b Reduce copies when dealing with hypertrees
Move everything into lib - I'll split it up better in the future
2023-07-01 14:14:57 -05:00
asonix ac338dd390 Automated hypertree management 2023-06-27 19:23:09 -05:00
asonix fd8b5be6af Add new vectors to indexes automatically 2023-06-27 16:19:17 -05:00
asonix 05b476a99f Add public VectorDb type for usage of the db 2023-06-26 17:26:43 -05:00
asonix 8102da2e37 Fix building hypertree to source from previous bucket, clean up after self during construction 2023-06-25 23:58:12 -05:00
asonix 9b21f1c0df Remove parent hyperplane entry when adding children 2023-06-25 23:50:22 -05:00
asonix 9baa3c03a4 Implement building hypertrees, getting similar vectors 2023-06-25 23:40:29 -05:00
asonix 3b866d0797 Add vector insertion 2023-06-25 18:36:47 -05:00
asonix ff91ce79f7 HyperPlane -> Hyperplane 2023-06-25 12:55:36 -05:00
asonix 2110e8d5eb Add function to get BucketID from table, HyperplaneList and Vector 2023-06-25 12:54:22 -05:00
asonix 2d5bc4e09a Start implementing stuff lol
TODO: implement encode/decode for Hyperplane
2023-06-24 18:57:09 -05:00
asonix 429729e669 initial commit 2023-06-24 15:42:22 -05:00