Commit Graph

968 Commits

Author SHA1 Message Date
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
Clément Renault
29229b2137
Remove the update from the database when popped out 2019-10-04 17:16:34 +02:00
Clément Renault
851cc38216
Introduce the Database struct to manage indexes 2019-10-04 16:49:17 +02:00
Clément Renault
effbbc7370
Load the indexes at startup 2019-10-04 13:26:33 +02:00
Clément Renault
08e3f23408
Add the meilidb-schema/tokenizer projects 2019-10-04 10:29:44 +02:00
Clément Renault
62a0aefe44
Make the project be a workspace 2019-10-04 10:26:32 +02:00
Clément Renault
3476939b7e
Prefer using the impl syntax 2019-10-04 10:21:09 +02:00
Clément Renault
38e474deaf
Introduce the MResult type 2019-10-03 17:33:15 +02:00
Clément Renault
00c70d3cb5
Make the UpdatesResults store work 2019-10-03 16:54:37 +02:00
Clément Renault
af9fd9f552
Make the Updates store work 2019-10-03 16:39:30 +02:00
Clément Renault
0a731973b9
Made many stores do their jobs 2019-10-03 16:13:14 +02:00
Clément Renault
c4bd13bcdf
Introduce many SingleStore wrappers 2019-10-03 15:04:11 +02:00
Clément Renault
a5bfbf244c
Introduce the documents Deserializer 2019-10-03 11:49:13 +02:00
Clément Renault
39e0d9fc4a
Introduce a basically working rkv based MeiliDB 2019-10-02 17:35:18 +02:00
Clément Renault
905bc5c1a6
Initial commit 2019-10-02 17:35:05 +02:00
Clément Renault
0f395d43a0
Merge pull request #201 from meilisearch/updates-ids-api
Add more methods for updates process
2019-09-26 16:08:22 +02:00
qdequele
0b5b7b0bf1
feat: add a method to get the current processed update id & next updates in queue 2019-09-26 15:50:16 +02:00
Clément Renault
57dd679026
Merge pull request #199 from meilisearch/fix-soft-hard-separator
Do not consider underscores and middle dash hard separators
2019-09-24 23:09:38 +02:00
Clément Renault
cdd69290c3
test: Make the tests work with new separator limits 2019-09-24 20:49:42 +02:00
Clément Renault
175b3dcb75
fix: Do not consider underscores and middle dash hard 2019-09-24 20:14:20 +02:00
Clément Renault
ca818e12a9
Merge pull request #198 from meilisearch/split-by-underscore
Support underscores and colon as split characters
2019-09-24 14:16:02 +02:00
Clément Renault
6b9426a051
feat: Support underscore as a split character 2019-09-24 13:56:32 +02:00
Quentin de Quelen
cee5e50857
Merge pull request #197 from meilisearch/log-info-to-trace
Change logs in query_builder from info! to trace!
2019-09-24 13:48:46 +02:00
qdequele
3fe346101b
chore: change logs in query_builder from info! to trace! 2019-09-24 13:35:46 +02:00
Clément Renault
87e5998489
Merge pull request #194 from meilisearch/set-code-public
Set code public
2019-09-19 18:25:13 +02:00
qdequele
d7d1b6ff02
chore: reformat tests 2019-09-19 18:08:25 +02:00
qdequele
7073b42afa
feat: get update status Enqueued / Processed / Unknown 2019-09-19 18:08:14 +02:00
qdequele
120d209e66
chore: set public SchemaProps values 2019-09-19 12:43:36 +02:00
qdequele
62e981c6b8
chore: set public the main duration on update status 2019-09-19 12:43:36 +02:00
qdequele
941302a4be
chore: export ranked map 2019-09-19 12:43:36 +02:00
qdequele
20f423268e
chore: re-export database::Error type 2019-09-19 12:43:36 +02:00
qdequele
522013425b
chore: export a getter for synonyms 2019-09-19 12:43:35 +02:00
qdequele
e3c413759f
chore: implement deref on CommonIndex 2019-09-19 12:43:35 +02:00
qdequele
6ed97d1c19
chore: re-export UpdateType/DetailedDuration/UpdateStatus 2019-09-19 12:43:35 +02:00
qdequele
53ad1fc068
chore: split tests into multiples files 2019-09-19 12:43:35 +02:00