Commit Graph

71 Commits

Author SHA1 Message Date
bors[bot] 971c361e0f
Merge #1682
1682: Change the format of custom ranking rules when importing old dumps r=curquiza a=Kerollmops

This PR changes the format of the custom ranking rules from `asc(price)` to `title:asc` as the format changed between v0.21 and v0.22. The dumps are now correctly importing the custom ranking rules.

This PR also change the previous default ranking rules (without sort) to the new default ranking rules (with the new sort).

Co-authored-by: Kerollmops <clement@meilisearch.com>
2021-09-08 16:20:10 +00:00
Kerollmops be50b2bec6
Change the format of custom ranking rules when importing v2 dumps 2021-09-08 17:56:21 +02:00
many 08138c7c23
Use set indexer options instead of create a default one 2021-09-08 13:40:00 +02:00
Tamo ad8d9a97d6
debug the body of every http request 2021-06-24 11:22:11 +02:00
marin postma a838238a63
move payload to own module 2021-06-23 16:49:25 +02:00
marin postma 834995b130
clippy + fmt 2021-06-23 16:49:23 +02:00
marin postma 1c13100948
implement custom payload 2021-06-23 16:48:31 +02:00
bors[bot] db7215eaa9
Merge #213
213: Implement all the CLI options r=MarinPostma a=irevoire

closes #206 
And I looked into #204, I fixed some default values and tried to test as many options as possible, and I think the cli is already mostly working.
If someone knows any issues about it, I would like to hear more 🙂 

Co-authored-by: Tamo <tamo@meilisearch.com>
2021-06-22 15:04:05 +00:00
bors[bot] 4b37a4a415
Merge #211 #218
211: fix index deletion race condition r=MarinPostma a=MarinPostma

Make update store block if the currently processing update is from an index we are trying to delete. This ensure that no write to the index can occur after it has been deleted.

218: Update milli version to v0.5.0 r=MarinPostma a=curquiza



Co-authored-by: marin postma <postma.marin@protonmail.com>
Co-authored-by: Clémentine Urquizar <clementine@meilisearch.com>
2021-06-22 14:36:34 +00:00
marin postma caa231aebe
fix race condition 2021-06-22 16:09:07 +02:00
Clémentine Urquizar 2e3d85c31a
Update milli version to v0.5.0 2021-06-22 15:57:46 +02:00
marin postma 1e4592dd7e
enable errors in updates 2021-06-21 18:42:47 +02:00
Tamo 2097554c09
fix the cli 2021-06-21 16:34:49 +02:00
marin postma 56686dee40
review changes 2021-06-21 13:57:32 +02:00
marin postma 0d3fb5ee0d
factorize internal error macro 2021-06-21 12:11:08 +02:00
marin postma 02277ec2cf
reintroduce anyhow 2021-06-21 12:11:06 +02:00
marin postma 58f9974be4
remove anyhow refs & implement missing errors 2021-06-21 10:59:38 +02:00
mpostma 3ef0830c5d review changes 2021-06-10 16:11:52 +02:00
Irevoire 99551fc21b fix encoding bug 2021-06-10 16:03:48 +02:00
mpostma 1a65eed724 fix index creation bug 2021-06-09 11:52:36 +02:00
Tamo d0552e765e
forbid deserialization of Setting<Checked> 2021-06-01 20:41:45 +02:00
Marin Postma 6609f9e3be review edits 2021-05-31 18:41:37 +02:00
Marin Postma b258f4f394
fix dump import 2021-05-27 14:30:20 +02:00
Marin Postma b924e897f1
load index dump 2021-05-27 10:27:47 +02:00
Marin Postma e818c33fec
implement load uuid_resolver 2021-05-26 20:42:09 +02:00
Marin Postma 464639aa0f
udpate actor error improvements 2021-05-25 16:44:58 +02:00
Marin Postma 2185fb8367
dump uuid resolver 2021-05-25 16:44:54 +02:00
tamo efca63f9ce
[WIP] rebase on main 2021-05-10 20:25:09 +02:00
tamo c3552cecdf
WIP rebase on main 2021-05-10 20:24:18 +02:00
tamo 0f94ef8abc
WIP: dump 2021-05-10 20:24:18 +02:00
tamo 0275b36fb0
[WIP] rebase on main 2021-05-10 20:24:14 +02:00
tamo 1b5fc61eb6
[WIP] rebase on main 2021-05-10 20:23:12 +02:00
tamo c4d898a265
split the dumps between v1 and v2 2021-05-10 20:20:57 +02:00
tamo e389c088eb
WIP: rebasing on master 2021-05-10 20:20:57 +02:00
Marin Postma 706643dfed
type setting struct 2021-05-10 17:30:09 +02:00
Marin Postma 4fe2a13c71
rewrite update store 2021-04-27 15:20:52 +02:00
Marin Postma c78f351300
fix tests 2021-04-27 15:10:57 +02:00
Marin Postma ee675eadf1
fix stats 2021-04-27 15:10:55 +02:00
Marin Postma 33830d5ecf
fix snapshots 2021-04-27 15:09:55 +02:00
Marin Postma 9ce68d11a7
single update store instance 2021-04-27 15:09:21 +02:00
Alexey Shekhirin adfdb99abc
feat(http): calculate updates' and uuids' dbs size 2021-04-09 15:59:12 +03:00
Alexey Shekhirin 698a1ea582
feat(http): store processing as RwLock<Option<Uuid>> in index_actor 2021-04-09 14:34:43 +03:00
Alexey Shekhirin 87412f63ef
feat(http): implement is_indexing for stats 2021-04-09 14:34:42 +03:00
Alexey Shekhirin dd9eae8c26
feat(http): stats route 2021-04-09 14:34:42 +03:00
mpostma f3dc853be3
Merge remote-tracking branch 'origin/main' into snapshots 2021-03-25 13:45:07 +01:00
mpostma d029464de8
fix snapshot path 2021-03-25 10:23:31 +01:00
mpostma 4041d9dc48
format code 2021-03-24 12:38:59 +01:00
mpostma 48d5f88c1a
fix snapshot dir already exists 2021-03-24 12:38:59 +01:00
mpostma eb53ed4cc1
load snapshot 2021-03-24 12:38:59 +01:00
mpostma 3cc3637e2d
refactor for tests 2021-03-24 12:38:56 +01:00