Commit Graph

177 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 d9678f0040
Fix the ordering functions of the Number type 2019-11-22 14:44:02 +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 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 a0caf0d6d7 Remove unused result response on indexes_uids function 2019-11-20 11:45:22 +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 e97e13ce9f Rename index_name to index_uids 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 a90facaa41 Rename index_name by index_uid 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 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