Commit Graph

296 Commits

Author SHA1 Message Date
Clément Renault
e0058c1125
Introduce codecs for facet types (string, f64, u64, i64) 2020-11-11 15:48:24 +01:00
Clément Renault
ea43080548
Make the indexing process send the new progress step events 2020-11-11 13:13:08 +01:00
Clément Renault
e78b96a657
Introduce a more detailed progress status enum 2020-11-11 12:31:59 +01:00
Clément Renault
535f8088d7
Write the words pairs proximities directly into LMDB to speedup indexing 2020-11-11 11:25:31 +01:00
Clément Renault
45ae086974
Make sure pending updates are process when restarting the UpdateStore 2020-11-09 17:33:07 +01:00
Clément Renault
4fb138c42e
Make sure we index all kind of JSON types 2020-11-06 16:35:07 +01:00
Clément Renault
c94bc59d7e
Introduce a function to transform an obk into a JSON 2020-11-05 13:57:29 +01:00
Clément Renault
0408c9d66a
Move the http server into its own sub-module 2020-11-05 11:16:39 +01:00
Clément Renault
a31db33e93
Introduce an optimization when the searchable attributes are ordered 2020-11-03 19:59:09 +01:00
Clément Renault
01c4f5abcd
Introduce the searchable attributes setting to the settings route 2020-11-03 19:35:55 +01:00
Clément Renault
63f65bac3e
Ignore the long running UpdateStore test 2020-11-03 19:12:00 +01:00
Clément Renault
a20c871ece
Add more tests to the Settings searchable attributes operation 2020-11-03 18:58:19 +01:00
Clément Renault
649fb6e401
Make sure that the indexing Store only index searchable fields 2020-11-03 18:58:19 +01:00
Clément Renault
e48630da72
Introduce the searchable parameter settings to the Settings update 2020-11-03 18:58:19 +01:00
Clément Renault
68d783145b
Introduce searchable fields methods on the index 2020-11-03 18:58:19 +01:00
Clément Renault
7e120fc441
Allow library users to specify the rayon ThreadPool for UpdateBuilder 2020-11-02 19:11:22 +01:00
Clément Renault
3d1854ab95
Introduce an HTTP route to accept settings changes 2020-11-02 15:47:21 +01:00
Clément Renault
995d72b8c1
Introduce the Settings update operation 2020-11-02 15:31:20 +01:00
Clément Renault
0c612f08c7
Rename the indexing warp routes 2020-11-02 15:30:29 +01:00
Clément Renault
9b08f48dbd
Construct the documents based on the displayed fields or fields ids order 2020-11-02 13:01:32 +01:00
Clément Renault
303c3ce89e
Clean up the heed imports in the index module 2020-11-02 12:49:54 +01:00
Clément Renault
8f56753a2f
Introduce displayed fields methods on the index 2020-11-02 12:49:54 +01:00
Clément Renault
3abfe8aa22
Validate documents ids before accepting them 2020-11-01 20:55:21 +01:00
Clément Renault
0ccf4cf785
Simplify the IndexDocuments builder creation from the UpdateBuilder 2020-11-01 17:31:20 +01:00
Clément Renault
600aa223c2
Fix a bug where generated docids were not saved when indexing JSON docs 2020-11-01 12:19:07 +01:00
Clément Renault
f0e63025b0
Update the Transform struct to support JSON stream updates 2020-11-01 12:19:06 +01:00
Kerollmops
6d52c5b2f0
Introduce a parameter to disable the engine to autogenerate docids 2020-10-31 21:46:55 +01:00
Clément Renault
21b4d60101
Add replace/update csv/json from the HTTP server 2020-10-31 20:52:49 +01:00
Clément Renault
a4f8be7811
Support numbers and boolean when indexing JSON 2020-10-31 20:52:49 +01:00
Clément Renault
f0d028d3a4
Update the Transform struct to support JSON updates 2020-10-31 20:52:49 +01:00
Clément Renault
9d47ee52b4
Generate a uuid v4 based document id when missing 2020-10-31 15:11:06 +01:00
Clément Renault
ddbd336387
Introduce primary key methods on the index 2020-10-31 11:50:59 +01:00
Clément Renault
0d01e4854b
Add a test to check that merging works correctly with CSVs 2020-10-30 13:46:56 +01:00
Clément Renault
955302fd95
Introduce an HTTP route to clear the documents 2020-10-30 13:12:55 +01:00
Clément Renault
7cc1a358f5
Fix a documents indexing bug and add a test 2020-10-30 12:14:25 +01:00
Clément Renault
99da69c85f
Introduce the prepare_for_closing Index method 2020-10-30 11:46:14 +01:00
Clément Renault
222063b19d
Introduce the Index path method 2020-10-30 11:46:00 +01:00
Clément Renault
085d3b9d94
Update heed to 0.10.0 2020-10-30 11:42:00 +01:00
Clément Renault
a30206a665
Prefer using iterator put_current instead of a get put method 2020-10-30 11:13:45 +01:00
Clément Renault
e63fdf2b22
Move the heed env into the index itself to ease the usage of the library 2020-10-30 10:56:35 +01:00
Clément Renault
b5d52b6b45
Prefer using a smallstr instead of a real String to reduce allocations 2020-10-29 14:32:32 +01:00
Clément Renault
40993a0d25
Fix an indexing process bug, where documents were not written in order 2020-10-29 14:20:03 +01:00
Clément Renault
855a251489
Enable the clear documents optimization that wasn't working due to a bug 2020-10-29 13:52:48 +01:00
Clément Renault
1228c2948d
Add a comment about the ClearDocuments operation in the DeleteDocuments 2020-10-28 11:17:36 +01:00
Kerollmops
d6338af766
Improve documents deletion by iterating over all the word pair positions 2020-10-27 18:50:09 +01:00
Clément Renault
3889d956d9
Introduce the UpdateBuilder and use it in the HTTP routes 2020-10-27 18:47:58 +01:00
Clément Renault
5c62fbb6a8
Move the IndexDocuments update into its own module 2020-10-26 12:21:13 +01:00
Clément Renault
8f76ec97c0
Move the DeleteDocuments update into its own module 2020-10-26 11:01:00 +01:00
Clément Renault
92ef1faa97
Move the ClearDocuments update into its own module 2020-10-26 10:58:17 +01:00
Clément Renault
1e1821f002
Introduce the merge_two_obkv function to merge documents on update 2020-10-26 10:55:07 +01:00