Commit Graph

65 Commits

Author SHA1 Message Date
antirez 1cb927aef6 Test: text FILTER expressions basics. 2025-02-28 17:52:46 +01:00
antirez b417685430 Expr: Allow _ in selectors. 2025-02-28 17:52:27 +01:00
antirez 89ef4c0702 Expr: convert Json bool to 1/0 numerical type. 2025-02-28 17:49:09 +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 774c05ab55 Add cJSON library. 2025-02-25 16:06:40 +01:00
antirez 44c064c0b4 Expr: handle JSON arrays as expr tuples. 2025-02-25 16:05:28 +01:00
antirez 764fb8cc74 Expr: use attribute in test expression. 2025-02-25 12:39:36 +01:00
antirez ab06a5a058 Expr: conver to refcounting. 2025-02-25 12:38:20 +01:00
antirez 3627bbe12c Fixed a few memory handling/corruption bugs. 2025-02-25 09:43:36 +01:00
antirez de32f40b98 Expr: fix pow associativeness and alloc size. 2025-02-24 23:37:49 +01:00
antirez 3b60921c53 Expr: implement tuple, fix many stuff. 2025-02-24 23:37:49 +01:00
antirez a9e02dfd29 Expr: add strdup alias for stand-alone build. 2025-02-24 23:37:49 +01:00
antirez e66a50ec3c Expr: remove useless allocation checks + fix leak. 2025-02-24 23:37:49 +01:00
antirez ef24ab7821 Allow decimals, exponent numbers in expressions. 2025-02-24 23:37:49 +01:00
antirez d3ada8090f Fix expression op && entry trailing space. 2025-02-24 23:37:49 +01:00
antirez 2f1d917cf1 Fix exprParseNumber() overflow check. 2025-02-24 23:37:49 +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 025790fc50 Expr filtering: implement HNSW filter in search_layer(). 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
antirez af6fa6f732 Expr filtering: conversions and other fixes. 2025-02-24 23:37:49 +01:00
antirez a90d2ea290 Expr filtering: first draft of exprRun(). 2025-02-24 23:37:49 +01:00
antirez 9e4413d1e3 Expr filtering: function to free tokens. 2025-02-24 23:37:49 +01:00
antirez c6bd5d3542 Expr filtering: int error offset + selector fix. 2025-02-24 23:37:49 +01:00
antirez f9d4a5c435 Expr filtering: first compilation draft. 2025-02-24 23:37:49 +01:00
antirez 56bc353717 Expr filtering: separate tokenization from compiling. 2025-02-24 23:37:49 +01:00
antirez 6ad37b6550 Expression filtering: parsing WIP. 2025-02-24 23:37:49 +01:00
antirez 710f70f963 Make allocators func pointers private to HNSW. 2025-02-24 23:37:49 +01:00
antirez 90c2349b35 HNSW: binary distance: fix type for the xor var. 2025-02-24 23:34:18 +01:00
antirez 92dcfeae8b HNSW: don't free layers, now is part of the node itself. 2025-02-24 23:32:51 +01:00
antirez a5cf561288 HNSW: calloc() -> hmalloc(). 2025-02-24 23:26:23 +01:00
antirez 8b4bde19b4 README: some rephrasing. 2025-02-09 09:53:09 +01:00
antirez f69090d56b HNSW: Clarify psuedomagic early break condition. 2025-02-08 12:00:59 +01:00
Rowan Trollope 9f376fb803
Merge pull request #2 from rowantrollope/main
Comment fix
2025-02-08 09:11:51 +09:00
Rowan Trollope b08629a426
Merge branch 'antirez:main' into main 2025-02-08 09:10:44 +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
Rowan Trollope 324f861f0e Merge branch 'main' of https://github.com/rowantrollope/vector-sets 2025-02-03 13:27:17 -08:00
Rowan Trollope a50f3b517c typo fix 2025-02-03 13:23:15 -08: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