Commit Graph

37 Commits

Author SHA1 Message Date
antirez 70ffa8ce5c Fix VADD_CASReply() NULL reference on ID mismatch.
This bug was fixed thanks to the kind help of Dvir Dukhan
(@DvirDukhan) that found it and provided useful context.
2025-03-18 21:37:06 +01:00
antirez 22ce9f3fad VRANDMEMBER command implemented. 2025-03-17 23:52:15 +01:00
antirez 13a0a63bef Copyright Sanfilipo -> Redis Ltd. 2025-03-14 23:06:22 +01:00
antirez d996eb82ef VADD: make M configurable at creation time. 2025-03-13 16:58:55 +01:00
antirez cc3874ab87 VADD CAS: fallback when thread creation fails. 2025-03-12 16:57:03 +01:00
antirez f829d46535 HNSW: creation time M parameter VS hardcoded. 2025-03-08 16:15:15 +01:00
antirez 0258e85186 VSIM TRUTH option for ground truth results. 2025-03-07 09:58:16 +01:00
antirez 2114c65012 VINFO: add attributes count. 2025-03-04 09:35:41 +01:00
antirez ed7c539303 Improve Vector Sets MEMORY USAGE implementation.
Now attributes are added as well. Moreover the code no longer uses
the first node to guess the size of the items, but does an average
of the few first items/attributes found. Still O(1) but more precise.
2025-03-04 09:35:41 +01:00
antirez 1f92040fcf Fix MEMORY USAGE and DEBUG DIGEST crash.
After adding attributes, the code was still accessing
node->value as a string, but now this is mediated by the value
object.

Close #5
2025-03-04 09:35:41 +01:00
antirez b49bc14f96 Fix README conflict. 2025-03-03 13:12:25 +01:00
antirez 2d311dbb01 Fix VLINKS after adding attributes. 2025-02-28 16:39:33 +01:00
antirez 68dccc55ad Fix CAS insertion broken when adding attributes. 2025-02-28 16:35:45 +01:00
antirez 68683e181c Add FILTER-EF option. 2025-02-28 13:05:19 +01:00
antirez 3abc801d7a Fix leak on VSIM FILTER syntax error. 2025-02-25 16:15:33 +01:00
antirez 7ad3cea7fa Expr filtering: fix selector name copying. 2025-02-24 23:37:49 +01:00
antirez 5304318335 Expr filtering: VSIM FILTER first draft. 2025-02-24 23:37:49 +01:00
antirez 438adc917b Expr filtering: fix initialization of attrib. 2025-02-24 23:37:49 +01:00
antirez e3a8921ab5 VSETATTR / VGETATTR. 2025-02-24 23:37:49 +01:00
antirez 2d1642504d Expr filtering: fixed a few bugs. 2025-02-24 23:37:49 +01:00
antirez 097f310797 Expr filtering: save/load attribs. 2025-02-24 23:37:49 +01:00
antirez 832090d821 Expr filtering: draft of the dual ported object. 2025-02-24 23:37:49 +01:00
Rowan Trollope 914cfec777 Merge branch 'main' of https://github.com/rowantrollope/vector-sets 2025-02-16 16:31:56 +09:00
Rowan Trollope f723c65f1b Updated gitignore
Ignoring movies example files
2025-02-08 09:14:58 +09:00
antirez 6c1e55d07c VEMB RAW implemented. 2025-02-05 11:21:06 +01:00
antirez 8206c782b5 Function to get quantization name. 2025-02-05 11:07:35 +01:00
antirez e6f1667a3d Q8 option for VADD. See README update for info. 2025-02-03 13:05:40 +01:00
antirez ff20d534c6 VSIM: execute on main thread for Lua and MULTI/EXEC. 2025-02-03 11:46:01 +01:00
antirez 337fc3d6fd Don't use threaded VADD in replicas, lua, multi. 2025-02-03 11:28:48 +01:00
Rowan Trollope 285134e43d Comment said: "XXX: check explicitly that ELE was passed, not just size" however this code is in the else block after strcasecmp already was checked for ! ELE, therefore we have already validated that this is an ELE element type. REMOVED comment for clarity. 2025-02-01 10:28:24 +01:00
Rowan Trollope daea83d2cf Moved hardcoded default EF of 100 (during threaded search) to define. 2025-02-01 10:25:58 +01:00
antirez 31f2b27a05 Digest method: fix calls for order independent hashing. 2025-01-31 20:17:38 +01:00
antirez a71feb6dd8 Replicate VADD with CAS. 2025-01-30 23:26:00 +01:00
antirez 5c8097c2de Document VADD EF option. 2025-01-28 08:39:20 +01:00
antirez 7cfd894f3a Fix binary quants loading. 2025-01-27 19:30:58 +01:00
antirez 31f097d418 VINFO: handle bin quantization. 2025-01-27 17:59:18 +01:00
antirez 33d653e24f First internal release. 2025-01-27 17:24:58 +01:00