Commit Graph

35 Commits

Author SHA1 Message Date
Clément Renault fd185a5e6b
Add a test for the SorByAttr criterion 2019-11-22 15:04:23 +01:00
Clément Renault c8832409ad Fix the dead lock on index deletion once again 2019-11-22 13:47:29 +01:00
Clément Renault c1cf67c008
Join updates threads after dropping the indexes lock and avoid deadlocks 2019-11-21 12:01:46 +01:00
Quentin de Quelen a0caf0d6d7 Remove unused result response on indexes_uids function 2019-11-20 11:45:22 +01:00
Quentin de Quelen e97e13ce9f Rename index_name to index_uids 2019-11-20 11:45:22 +01:00
Quentin de Quelen a90facaa41 Rename index_name by index_uid 2019-11-20 11:45:22 +01:00
Clément Renault 23a89732a5 Prefer using a global update callback common to all indexes 2019-11-18 14:41:49 +01:00
Clément Renault acb5e624c6 Add enqueued and processed datetimes 2019-11-12 18:21:59 +01:00
Clément Renault a98949ff1d Improve updates JSON format 2019-11-12 16:57:22 +01:00
Clément Renault d18e775bec
Ignore words that are too long 2019-11-10 17:44:27 +01:00
Clément Renault 95eb6ad09a Add a test to check index soft deletion works correctly 2019-11-06 11:02:30 +01:00
Clément Renault f3fc0bed45 Introduce index soft deletion 2019-11-06 11:02:30 +01:00
Clément Renault 36b74f0efe
Introduce partial updates to the update system 2019-11-05 15:23:41 +01:00
Clément Renault 68c0a36b00
Make the deserialization support correctly optional documents 2019-11-05 15:03:18 +01:00
Clément Renault 5782fb9e52 Test the add of attributes only at the end of a schema 2019-11-05 12:09:52 +01:00
Clément Renault 1c3620a7d4
Add tests to the update system 2019-11-04 13:18:07 +01:00
Clément Renault c2cc0704d7
Clean up the update_awaiter function 2019-11-04 11:11:58 +01:00
Clément Renault 2a50e08bb8
Moving to heed v0.5.0 2019-11-04 10:49:27 +01:00
Clément Renault 6b326a45d7
Fix the update system to always consume updates even if failing 2019-10-31 17:44:13 +01:00
Clément Renault 6a8171d335
Moving to heed 0.3.0 2019-10-31 16:11:02 +01:00
Clément Renault cc461b1331
Display enqueued along with processed updates 2019-10-31 12:25:52 +01:00
Clément Renault c08dcac1d4
Abort the update transaction before calling the update callback 2019-10-28 17:55:43 +01:00
Clément Renault eb67195840
Commit an update only when it is Ok 2019-10-23 15:52:40 +02:00
Clément Renault 78535b3e33
Move to heed 0.1.0 2019-10-21 12:05:53 +02:00
Clément Renault ca26a0f2e4
Cargo fmt pass 2019-10-18 13:30:06 +02:00
Clément Renault 2ef51f7df9
Introduce a function to copy and compact a database env 2019-10-18 12:56:56 +02:00
Clément Renault 1667e1b32f
Move to zerocopy-lmdb 2019-10-16 17:12:55 +02:00
Clément Renault 3278d22279
Introduce an Index mathod to retrieve the currently processed update 2019-10-15 14:54:52 +02:00
Clément Renault e09d3b654d
Rename main_store into common_store 2019-10-10 15:22:23 +02:00
Clément Renault 19c22a8c5e
Create two open and create index functions 2019-10-10 13:48:30 +02:00
Clément Renault f56636e1e9
Merge branch 'moving-to-lmdb' 2019-10-09 17:23:48 +02:00
Clément Renault 5f3072e67e
Support a basic update callback system 2019-10-09 11:45:19 +02:00
Clément Renault d8d0442d63
Fix many indexing and searching related bugs 2019-10-08 14:56:14 +02:00
Clément Renault aa05459e4f
Introduce a background thread that manage updates to do 2019-10-07 16:16:04 +02:00
Clément Renault 851cc38216
Introduce the Database struct to manage indexes 2019-10-04 16:49:17 +02:00