Commit Graph

154 Commits

Author SHA1 Message Date
Clément Renault
1be5b0f327
Bump the meili-core/schema/tokenizer crates to 0.6.0 2019-10-31 14:05:59 +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
b709a7a30a
Bump the meili-core/schema/tokenizer crates to 0.5.11 2019-10-30 17:40:31 +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
Clément Renault
2ea3e9b081 Improve the automaton producer quality by changing the production order 2019-10-17 13:19:08 +02:00
Clément Renault
da71821204 Make the example take the fetch-timeout-ms argument into account 2019-10-17 13:19:08 +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
9ff92c5d15
Update the exact criterion to use the documents fields counts 2019-10-14 18:48:54 +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
b377003192
Compute and store the number of words in documents fields 2019-10-14 14:07:10 +02:00
Clément Renault
a7e40a78c1
Introduce the DocumentsFieldsCounts store 2019-10-14 14:06:34 +02:00
Clément Renault
9cdda8c46a
Make the RawIndexer index_text method return the number of words 2019-10-14 13:56:52 +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
da6ab2753e
Rename Update/Type SchemaUpdate into Schema 2019-10-11 13:49:17 +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
e09d3b654d
Rename main_store into common_store 2019-10-10 15:22:23 +02:00