Commit Graph

164 Commits

Author SHA1 Message Date
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
c9c3cfcee9
Move the main types to a separate library 2019-11-17 12:19:36 +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
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
85bf5d113c
Fix an highlighting problem when query was longer than original text 2019-11-05 16:40:34 +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
20319f7974 Allow to introduce attributes only at the end of a schema 2019-11-05 12:09:52 +01:00
Clément Renault
3b1cbed238
Check that the unidecoded words are not empty 2019-11-04 17:03:11 +01:00
Clément Renault
4571b80a49 Update the tests 2019-11-04 16:41:58 +01:00
Clément Renault
ccded7b429 Improve the indexer to not not deunicode before indexing
Revert of #179
2019-11-04 16:41:58 +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
45d4361e7d
Correctly highlight when query string is longer 2019-10-30 17:49:50 +01:00
Clément Renault
c230f244be
Make the highlight system much better 2019-10-30 17:32:29 +01:00
Clément Renault
4dff8a215e
Reduce the ram consumption when re-indexing all the documents 2019-10-29 17:46:23 +01:00
Clément Renault
e9dce3ce81 Add a test to ensure that the indexer support stop words 2019-10-29 16:18:06 +01:00
Clément Renault
ff7dde7522 Make the RawIndexer support stop words 2019-10-29 16:18:06 +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
ac12a4b9c9
Make documents additions accept only the last duplicate document 2019-10-28 20:40:33 +01:00
Clément Renault
a43b37dfc1
Send channel notification when clearing documents 2019-10-28 17:58:22 +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
9a57cab3ee
Fix the exactness criterion algorithm 2019-10-26 18:34:40 +02:00
Clément Renault
4111b99a6d
Only highlight query words areas not the whole words 2019-10-26 15:56:34 +02:00
Clément Renault
cb5c77e536
Make sure that automatons group with more automatons are better 2019-10-24 15:18:53 +02:00
Clément Renault
047eba3ff3
Introduce a clear all documents update 2019-10-23 16:39:10 +02:00
Clément Renault
eb67195840
Commit an update only when it is Ok 2019-10-23 15:52:40 +02:00
Clément Renault
7d9cf8d713
Clean up the fetch algorithm 2019-10-23 12:06:21 +02:00
Clément Renault
03eb7898e7
Introduce a basic working version of phrase query for splitting words 2019-10-23 11:40:13 +02:00
Clément Renault
858bf359b8
Make possible to convert recursive object into strings 2019-10-22 16:02:02 +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
2ef51f7df9
Introduce a function to copy and compact a database env 2019-10-18 12:56:56 +02:00
Clément Renault
526202ec8b
Make the levenshtein algorithm consider transpositions to cost 1 2019-10-17 18:07:15 +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