Commit graph

56 commits

Author SHA1 Message Date
Tobie Morgan Hitchcock
9927fc654a
Convert unreachable!() code to Error::Unreachable errors in core (#4673) 2024-09-09 18:58:17 +01:00
Emmanuel Keller
d148098f5a
Fix 3863 part 1 / 3 (#4666) 2024-09-03 13:31:15 +00:00
Emmanuel Keller
0b5d79cae0
[Feat] SELECT ORDER should use the index iterator when available (#4525) 2024-08-23 14:40:34 +01:00
Sergii Glushchenko
f2e598379b
Insert with version (#4583) 2024-08-22 22:34:33 +00:00
David Bottiau
c7bcd4f3a6
feat: allow cbor uuid serialization for record id part (#4491)
Co-authored-by: Micha de Vries <micha@devrie.sh>
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
Co-authored-by: Mees Delzenne <DelSkayn@users.noreply.github.com>
2024-08-22 08:35:54 +00:00
Micha de Vries
e77df62114
Range values (#4506) 2024-08-20 11:42:06 +00:00
Emmanuel Keller
0a4801dcf8
[Feat] HNSW persistence (#4214)
Co-authored-by: David Bottiau <david.bottiau@outlook.com>
Co-authored-by: Micha de Vries <micha@devrie.sh>
Co-authored-by: Micha de Vries <mt.dev@hotmail.com>
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
Co-authored-by: ekgns33 <76658405+ekgns33@users.noreply.github.com>
Co-authored-by: Sergii Glushchenko <sergii.glushchenko@surrealdb.com>
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2024-08-20 11:42:58 +01:00
Emmanuel Keller
d86a734d04
[Feat] Asynchronous indexing (#4480)
Co-authored-by: Micha de Vries <micha@devrie.sh>
2024-08-20 09:20:53 +00:00
Micha de Vries
78b5f8f1d0
Idiom Optional Part (#4514) 2024-08-16 15:53:28 +00:00
Emmanuel Keller
6e9d04d4d7
Remove Context lifetimes (#4484) 2024-08-15 16:01:02 +00:00
Sergii Glushchenko
6502b5ed8a
Select from individual record with version (#4510) 2024-08-15 05:29:53 +00:00
Sergii Glushchenko
a87433c4d3
Experimental: select all from table with version (#4494) 2024-08-13 15:35:30 +00:00
Rushmore Mushambi
57c7f5ec03
Serialisation improvements for sql::Value (#4255) 2024-08-13 08:29:43 +00:00
Micha de Vries
c0be139e59
Implement anonymous functions (#4474)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-08-10 12:44:12 +00:00
Micha de Vries
eab548c5a3
Idiom destructuring (#4443) 2024-07-31 15:20:19 +00:00
Emmanuel Keller
fed79d4808
Bump to rustc 1.80.0 (#4436)
Co-authored-by: Gerard Guillemas Martos <gerard.guillemas@surrealdb.com>
2024-07-29 15:39:38 +00:00
Emmanuel Keller
08f4ad6c82
MTree bench improvements (replaces hashbrown with ahash) (#4408) 2024-07-23 08:24:00 +00:00
Emmanuel Keller
c415d37a72
MTree/HNSW tests/benches work (#4387) 2024-07-20 08:27:14 +00:00
Emmanuel Keller
c471dc0317
Remove unnecessary cloning of DefineStatementAnalyzer (#4379) 2024-07-19 10:10:09 +00:00
Tobie Morgan Hitchcock
bfc474e4d8
Refactor transaction, caching, and key-value store interfaces (#4257)
Co-authored-by: Gerard Guillemas Martos <gerard.guillemas@surrealdb.com>
2024-07-17 22:44:05 +00:00
Mees Delzenne
5706c9b368
Fix clippy tests, eliminate globals, remove unused function return variant. (#4303) 2024-07-05 09:34:43 +00:00
Gerard Guillemas Martos
d9ae887d50
Resolve panics when a NS or a DB are not configured (#4157)
Co-authored-by: Emmanuel Keller <emmanuel.keller@surrealdb.com>
2024-06-11 09:34:21 +00:00
Emmanuel Keller
7253c01190
[Bug fix] KNN brute force is not working anymore when an index exists (#4143) 2024-06-06 15:40:38 +00:00
Emmanuel Keller
39c1b333de
[Bug fix] Redefining HNSW index error (#4142) 2024-06-06 13:15:53 +00:00
Emmanuel Keller
f79a946cbe
[Bug fix] Iterator not found on unique indexes with == (#4108) 2024-05-28 15:30:24 +00:00
Emmanuel Keller
a9e075463d
Move Transaction to Context (#4096) 2024-05-28 10:43:45 +00:00
Emmanuel Keller
7495611bc4
[Feat] KNN filtering with limit and KNN distance function (#4036) 2024-05-24 13:45:21 +00:00
Emmanuel Keller
6277aab0e1
Query planner should evaluate non boolean expressions (#4022) 2024-05-14 08:58:06 +00:00
Rushmore Mushambi
7776fa476d
Disable another flaky MTree test (#4016) 2024-05-10 12:37:36 +00:00
Emmanuel Keller
fcaff735e6
Fixes 3990 (#4012) 2024-05-10 10:46:10 +00:00
Emmanuel Keller
1d441e1c21
Index & vectors minor fixes (#4009) 2024-05-10 07:12:07 +00:00
Emmanuel Keller
009486b2bb
Feature: Initial Hnsw implementation (#3353) 2024-05-08 14:26:41 +00:00
Emmanuel Keller
b9f02d146d
TreeCache is currently inefficient on writes (#3954) 2024-04-30 18:09:54 +00:00
Przemyslaw Hugh Kaznowski
22aec455b5
Invert CF diffs to derive original (#3934)
Co-authored-by: Emmanuel Keller <keller.emmanuel@gmail.com>
2024-04-29 09:37:21 +00:00
cospectrum
67ff1ea4ca
Refactor core/idx/ft (#3932)
Co-authored-by: Emmanuel Keller <emmanuel.keller@surrealdb.com>
2024-04-25 14:47:38 +00:00
Mees Delzenne
49ad32f45e
Implement reblessive into the executor. (#3803) 2024-04-18 15:51:47 +00:00
Raphael Darley
4c8c9f6c8a
Info structure refactor (#3886)
Co-authored-by: Micha de Vries <micha@devrie.sh>
2024-04-17 15:27:55 +01:00
Emmanuel Keller
53ad2c5366
IN operator should be recognised by the query planner (#3890) 2024-04-17 12:24:30 +00:00
Emmanuel Keller
a82c0ec0ad
Query planner strategy for record links (#3668) 2024-04-16 18:05:09 +00:00
Rushmore Mushambi
2fbb4f4617
Add #[non_exhaustive] to core structs and enums (#3781) 2024-04-02 20:12:08 +00:00
Emmanuel Keller
829fb0baf9
Bug fix: Improve support of range queries with complex queries (#3786) 2024-03-30 23:11:54 +00:00
Mees Delzenne
567832825a
Implement reblessive into the parser to prevent any overflows. (#3591) 2024-03-22 20:50:11 +00:00
Emmanuel Keller
ae0eb03998
Disable flaky part of Mtree tests (#3733) 2024-03-20 20:17:47 +00:00
Emmanuel Keller
d9eb60f2a5
bug fix: partial highlight with ngram and other cleanups (#3725) 2024-03-20 13:11:02 +00:00
Emmanuel Keller
45c296a270
search::highlight option to highlight only the searched characters (edgengram, ngram) (#3719) 2024-03-19 17:47:50 +00:00
Rushmore Mushambi
948b9640fb
Drop the sql::v1 module from the core library (#3683) 2024-03-15 14:37:27 +00:00
Emmanuel Keller
0e3fb7b365
Bug fix: Implements the union strategy on unique indexes (#3674) 2024-03-12 08:58:22 +00:00
Mees Delzenne
87da9c0b01
Fix warnings (#3634) 2024-03-08 10:58:07 +00:00
Emmanuel Keller
686a140d80
Support of IN operator in the planner (#3640) 2024-03-06 23:41:48 +00:00
Emmanuel Keller
5534a70431
Bug fix: Restore cosine distance on MTree indexes (#3614) 2024-03-06 09:29:19 +00:00