Commit Graph

9952 Commits

Author SHA1 Message Date
Clément Renault
12b80e08be
Do not commit updates, let the user do 2019-10-11 11:29:47 +02:00
Clément Renault
4b130fa2e5
Merge pull request #212 from meilisearch/fix-documents-ids-iter
Fix the DocumentsIdsIter and do not iter on an Option
2019-10-10 18:43:01 +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
543b65b09b
Merge pull request #211 from meilisearch/fix-documents-deletion-generic-param
Reemove the useless generic documents_deletion parameter
2019-10-10 17:09:49 +02:00
Clément Renault
9eb27811b1
Remove the useless generic documents_deletion parameter 2019-10-10 16:16:53 +02:00
Clément Renault
7c3d93e5da
Merge pull request #210 from meilisearch/query-builder-with-criteria
Rename main_store into common_store
2019-10-10 15:40:56 +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
0ac927794a
Merge pull request #209 from meilisearch/rename-main-to-common-index
Rename main_store into common_store
2019-10-10 15:31:25 +02:00
Clément Renault
e09d3b654d
Rename main_store into common_store 2019-10-10 15:22:23 +02:00
Clément Renault
c5af5de4f0
Merge pull request #208 from meilisearch/improve-open-or-create-index
Create two open and create index functions
2019-10-10 13:59:08 +02:00
Clément Renault
19c22a8c5e
Create two open and create index functions 2019-10-10 13:48:30 +02:00
Clément Renault
0103c7bfd9
Merge pull request #207 from meilisearch/improve-documents-ids-iter
Improve the DocumentsIdsIter internal
2019-10-10 13:48:13 +02:00
Clément Renault
7b26bd88c0
Improve the DocumentsIdsIter internal 2019-10-10 13:40:18 +02:00
Clément Renault
da0168bd82
Merge pull request #206 from meilisearch/get-documents-ids
Introduce the DocumentsIds iterator
2019-10-10 10:54:21 +02:00
Clément Renault
d1e59be46b
Introduce the DocumentsIds iterator 2019-10-10 10:35:57 +02:00
Clément Renault
9774db6011
Merge pull request #205 from meilisearch/expose-types
Expose the UpdateType
2019-10-10 10:35:42 +02:00
Clément Renault
46c19dfc5a
Expose the UpdateType 2019-10-10 10:24:41 +02:00
Clément Renault
9ed6752573
Merge pull request #204 from meilisearch/optional-query-builder-timeout
Make the timeout QueryBuilder setting optional to and pass the tests
2019-10-09 18:17:52 +02:00
Clément Renault
d8fdad1455
Make the timeout QueryBuilder setting optional to and pass the tests 2019-10-09 17:59:31 +02:00
Clément Renault
f56636e1e9
Merge branch 'moving-to-lmdb' 2019-10-09 17:23:48 +02:00
Clément Renault
03599f1fc9 Reintroduce the deep-dive and typos-ranking-rules explanations documents 2019-10-09 16:57:27 +02:00
Clément Renault
be78ecbf9a
Update the README to recall about LMDB 2019-10-09 16:55:07 +02:00
Thomas Payet
ba2b04ca89
Update ci with rust nightly only 2019-10-09 16:47:25 +02:00
Clément Renault
121399f336
Add a movies example dataset to the repository 2019-10-09 16:46:11 +02:00
Clément Renault
3fded51534
Update the README file to reflect the current repository 2019-10-09 16:46:11 +02:00
Clément Renault
8f63ec39da
Unrestrict static lifetime of Criterion names 2019-10-09 16:15:31 +02:00
Clément Renault
5a1c1aeb02
Reintroduce the sort-by-attr criterion 2019-10-09 16:08:30 +02:00
Clément Renault
6ec575f8de
Use a buffered sync channel to avoid blocking the update system 2019-10-09 15:49:35 +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
663714bb6d
Make the example return documents field in a consistent order 2019-10-09 13:48:33 +02:00
Clément Renault
bb35ca0d40
Reintroduce the distinct and filtering of documents 2019-10-09 13:44:18 +02:00
Clément Renault
5f3072e67e
Support a basic update callback system 2019-10-09 11:45:19 +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
0a5ad4db06
Move the push update functions to their related modules 2019-10-08 17:24:11 +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
0e224efa46
Introduce synonyms additions updates 2019-10-08 17:06:56 +02:00
Clément Renault
175461c13a
Port all tests to the TempDatabase struct 2019-10-08 16:16:30 +02:00
Clément Renault
c514692233
Introduce the TempDatabase in the QueryBuilder tests 2019-10-08 15:22:36 +02:00
Clément Renault
d8d0442d63
Fix many indexing and searching related bugs 2019-10-08 14:56:14 +02:00
Clément Renault
2236ebbd42
Introduce an example file to test indexing and searching csv documents 2019-10-08 14:48:48 +02:00
Clément Renault
0bfba3e4ba
Introduce a query_builder method on Index 2019-10-07 17:55:46 +02:00
Clément Renault
a57a64823e
Make possible to create an index and add a schema later on 2019-10-07 17:48:26 +02:00
Clément Renault
aa05459e4f
Introduce a background thread that manage updates to do 2019-10-07 16:16:04 +02:00
Clément Renault
0615c5c52d
Consume updates in the order of insertion 2019-10-07 15:00:28 +02:00
Clément Renault
487411340a
Prefix all the store names to avoid colliding with main stores 2019-10-07 10:56:55 +02:00
Clément Renault
5139dc7f3e
Let the caller commit/abort the operation 2019-10-07 10:52:45 +02:00
Clément Renault
88d0d3931c Store the schema in the main index 2019-10-04 17:49:13 +02:00
Clément Renault
df2ef8d2e1 Introduce update_task, popping an update and pushing the result of it 2019-10-04 17:49:13 +02:00