Commit Graph

57 Commits

Author SHA1 Message Date
Clément Renault
c8832409ad Fix the dead lock on index deletion once again 2019-11-22 13:47:29 +01:00
Quentin de Quelen
055368acd8 Fix for review 2019-11-21 11:49:49 +01:00
Quentin de Quelen
530738cfe9 Format code 2019-11-20 14:12:12 +01:00
Quentin de Quelen
45ded0498b Format code with cargo fmt 2019-11-20 11:45:23 +01:00
Quentin de Quelen
3286a5213c Move fields frequency from common store to index main store 2019-11-20 11:45:22 +01:00
Quentin de Quelen
39e2b73718 Add updatedAt on main index store 2019-11-20 11:45:22 +01:00
Quentin de Quelen
076e781810 Add name, created_at and updated_at informations into main index 2019-11-20 11:45:21 +01:00
Clément Renault
26bdabcdec
Do not use a forked fst dependency 2019-11-17 11:14:01 +01:00
Clément Renault
8e4b362e4d Fixed the display of enqueued updates 2019-11-12 18:21:59 +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
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
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
a226fd23c3 Introduce the stop words deletion update type 2019-10-29 16:18:06 +01:00
Clément Renault
776673ebae
Introduce the stop words addition update type 2019-10-29 15:24:09 +01:00
Clément Renault
8a17fcdda5
Introduce a function to get all updates results 2019-10-29 11:37:40 +01:00
Clément Renault
a43b37dfc1
Send channel notification when clearing documents 2019-10-28 17:58:22 +01:00
Clément Renault
047eba3ff3
Introduce a clear all documents update 2019-10-23 16:39:10 +02:00
Clément Renault
0f30a221fa
Introduce the reindex_all_documents indexing function 2019-10-22 14:07:27 +02:00
Clément Renault
78535b3e33
Move to heed 0.1.0 2019-10-21 12:05:53 +02:00
Clément Renault
9dce41ed6b
Cargo clippy pass 2019-10-18 13:30:06 +02:00
Clément Renault
ca26a0f2e4
Cargo fmt pass 2019-10-18 13:30:06 +02:00
Clément Renault
dd74af4c70
Use an RoTxn to retrieve the number of documents 2019-10-17 17:30:54 +02:00
Clément Renault
d941c512db
Rework the QueryBuilder to make it easier to construct and use 2019-10-17 14:45:21 +02:00
Clément Renault
1cf6afad9a
Fix updates serialization to use serde_json instead of bincode 2019-10-17 12:31:46 +02:00
Clément Renault
1667e1b32f
Move to zerocopy-lmdb 2019-10-16 17:12:55 +02:00
Clément Renault
5e8d432614
Introduce an Iterator to visit all documents attributes counts 2019-10-15 15:27:18 +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
0de37819b4
Simplify the document fields counts deletion 2019-10-15 11:17:23 +02:00
Clément Renault
e629f51af4
Use the documents_fileds_count store in the QueryBuilder 2019-10-14 18:48:32 +02:00
Clément Renault
a7e40a78c1
Introduce the DocumentsFieldsCounts store 2019-10-14 14:06:34 +02:00
Clément Renault
710ab2386c
Get ride of rust messagepack (rmp) 2019-10-11 16:17:37 +02:00
Clément Renault
02575a2ef6
Introduce customs updates 2019-10-11 15:33:35 +02:00
Clément Renault
12b80e08be
Do not commit updates, let the user do 2019-10-11 11:29:47 +02:00
Clément Renault
9dca18f966
Fix the DocumentsIdsIter and do not iter on an Option 2019-10-10 18:32:22 +02:00
Clément Renault
9eb27811b1
Remove the useless generic documents_deletion parameter 2019-10-10 16:16:53 +02:00
Clément Renault
485480560a
Add method to create a query builder along with criterion 2019-10-10 15:32:08 +02:00
Clément Renault
7b26bd88c0
Improve the DocumentsIdsIter internal 2019-10-10 13:40:18 +02:00
Clément Renault
d1e59be46b
Introduce the DocumentsIds iterator 2019-10-10 10:35:57 +02:00
Clément Renault
683b6afbfb
Introduce a way to filter documents with a basic syntax 2019-10-09 14:20:37 +02:00
Clément Renault
2a4707d51e
Expose a function to be able to now the status of an update 2019-10-08 17:35:47 +02:00
Clément Renault
6534a9ec1d
Clean up many warning messages 2019-10-08 17:31:07 +02:00
Clément Renault
6ee0d72c7b
Expose the synonyms operation updates on the Index 2019-10-08 17:18:22 +02:00
Clément Renault
ba32ce21d0
Introduce synonyms deletions updates 2019-10-08 17:16:48 +02:00
Clément Renault
175461c13a
Port all tests to the TempDatabase struct 2019-10-08 16:16:30 +02:00
Clément Renault
d8d0442d63
Fix many indexing and searching related bugs 2019-10-08 14:56:14 +02:00
Clément Renault
0bfba3e4ba
Introduce a query_builder method on Index 2019-10-07 17:55:46 +02:00