aa7537a11e
make the autodeletion work with a fixed number of tasks and update the tests
2023-05-04 00:06:49 +02:00
f9ddd32545
implement the auto-deletion of tasks
2023-05-04 00:06:49 +02:00
d5059520aa
Fix typo
2023-05-03 22:27:03 +02:00
1c3642c9b2
Fix deletion per filter analytics
2023-05-03 22:26:51 +02:00
d2d2bacaf2
add a test on the complex filter
2023-05-03 20:07:08 +02:00
30edba3497
Update links of the docs
2023-05-03 19:14:57 +02:00
84e7bd9342
Fix test after rebase on filter additions
2023-05-03 17:51:28 +02:00
2b74e4d116
Fix test
2023-05-03 17:41:50 +02:00
b5fe0b2b07
fix the details
2023-05-03 17:41:50 +02:00
fc8c1d118d
fix the analytics
2023-05-03 17:41:50 +02:00
0548ab9038
create and use the error code
2023-05-03 17:41:50 +02:00
143acb9cdc
update the tests
2023-05-03 17:41:49 +02:00
4b92f1b269
wip
2023-05-03 17:41:49 +02:00
c12a1cd956
test all the error messages
2023-05-03 17:41:49 +02:00
8af8aa5a33
add a test
2023-05-03 17:41:49 +02:00
732c52093d
Processing time without autobatching implementation
2023-05-03 17:41:48 +02:00
05cc463fbc
Draft implementation of filter support for /delete-by-batch route
2023-05-03 17:41:48 +02:00
c0e081cd98
Merge #3702 #3710
...
3702: Update charabia v0.7.2 r=curquiza a=ManyTheFish
fixes #3701
fixes #3689
fixes #3285
3710: Updated messages pointing to the docs website r=curquiza a=roy9495
# Pull Request
Fixes partially #3668
## What does this PR do?
- ...Any messages referencing this docs site https://docs.meilisearch.com has been changed to this docs site https://meilisearch.com/docs .
Thanks.
## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?
Thank you so much for contributing to Meilisearch!
Co-authored-by: ManyTheFish <many@meilisearch.com >
Co-authored-by: TATHAGATA ROY <98920199+roy9495@users.noreply.github.com >
2023-05-02 17:27:57 +00:00
feaf25a95d
Updated messages pointing to the docs website
2023-04-28 20:52:03 +00:00
414b3fae89
Merge #3571
...
3571: Introduce two filters to select documents with `null` and empty fields r=irevoire a=Kerollmops
# Pull Request
## Related issue
This PR implements the `X IS NULL`, `X IS NOT NULL`, `X IS EMPTY`, `X IS NOT EMPTY` filters that [this comment](https://github.com/meilisearch/product/discussions/539#discussioncomment-5115884 ) is describing in a very detailed manner.
## What does this PR do?
### `IS NULL` and `IS NOT NULL`
This PR will be exposed as a prototype for now. Below is the copy/pasted version of a spec that defines this filter.
- `IS NULL` matches fields that `EXISTS` AND `= IS NULL`
- `IS NOT NULL` matches fields that `NOT EXISTS` OR `!= IS NULL`
1. `{"name": "A", "price": null}`
2. `{"name": "A", "price": 10}`
3. `{"name": "A"}`
`price IS NULL` would match 1
`price IS NOT NULL` or `NOT price IS NULL` would match 2,3
`price EXISTS` would match 1, 2
`price NOT EXISTS` or `NOT price EXISTS` would match 3
common query : `(price EXISTS) AND (price IS NOT NULL)` would match 2
### `IS EMPTY` and `IS NOT EMPTY`
- `IS EMPTY` matches Array `[]`, Object `{}`, or String `""` fields that `EXISTS` and are empty
- `IS NOT EMPTY` matches fields that `NOT EXISTS` OR are not empty.
1. `{"name": "A", "tags": null}`
2. `{"name": "A", "tags": [null]}`
3. `{"name": "A", "tags": []}`
4. `{"name": "A", "tags": ["hello","world"]}`
5. `{"name": "A", "tags": [""]}`
6. `{"name": "A"}`
7. `{"name": "A", "tags": {}}`
8. `{"name": "A", "tags": {"t1":"v1"}}`
9. `{"name": "A", "tags": {"t1":""}}`
10. `{"name": "A", "tags": ""}`
`tags IS EMPTY` would match 3,7,10
`tags IS NOT EMPTY` or `NOT tags IS EMPTY` would match 1,2,4,5,6,8,9
`tags IS NULL` would match 1
`tags IS NOT NULL` or `NOT tags IS NULL` would match 2,3,4,5,6,7,8,9,10
`tags EXISTS` would match 1,2,3,4,5,7,8,9,10
`tags NOT EXISTS` or `NOT tags EXISTS` would match 6
common query : `(tags EXISTS) AND (tags IS NOT NULL) AND (tags IS NOT EMPTY)` would match 2,4,5,8,9
## What should the reviewer do?
- Check that I tested the filters
- Check that I deleted the ids of the documents when deleting documents
Co-authored-by: Clément Renault <clement@meilisearch.com >
Co-authored-by: Kerollmops <clement@meilisearch.com >
2023-04-27 13:14:00 +00:00
249053e514
Update feature flags
2023-04-26 14:59:25 +02:00
cfd1b2cc97
Fix the clippy warnings
2023-04-25 16:40:32 +02:00
a3cf104736
Fix the compilation
2023-04-24 17:50:58 +02:00
a109802d45
Upgrade the incompatible versions of the dependencies
2023-04-24 17:50:57 +02:00
2d8060df80
Fix the tests
2023-04-24 17:50:57 +02:00
47b66e49b8
Upgrade the compatible versions of the dependencies
2023-04-24 17:50:52 +02:00
654a3a9e19
Merge #3688
...
3688: Following release v1.1.1: bring back changes into `main` r=curquiza a=curquiza
`@meilisearch/engine-team` ensure the changes we bring to `main` are the ones you want
Co-authored-by: Louis Dureuil <louis@meilisearch.com >
Co-authored-by: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Co-authored-by: Tamo <tamo@meilisearch.com >
Co-authored-by: dureuill <dureuill@users.noreply.github.com >
2023-04-24 11:38:23 +00:00
c2f4b6ced0
Test: await for the deletion task to complete before trying to add another task
2023-04-13 18:22:42 +02:00
1e6cbcaf12
Update test comment
...
Co-authored-by: Tamo <tamo@meilisearch.com >
2023-04-13 17:27:12 +02:00
066c6bd875
test task db full now checks that a task can be successfully added after deleting tasks
2023-04-13 17:20:06 +02:00
b3f60ee805
try to fix the ci
2023-04-13 10:18:58 +02:00
b4fabce36d
update the error message + update the task db size to 20GiB with a limit at 50%
2023-04-12 18:54:11 +02:00
9350a7b017
improve the test and try to understand the issue happening on windows
2023-04-12 18:54:11 +02:00
be69ab320d
stops receiving tasks once the task queue is full
2023-04-12 18:54:11 +02:00
4d308d5237
Improve the health route by ensuring lmdb is not down
...
And refactorize slightly the auth controller.
2023-04-06 15:31:42 +02:00
b4c01581cd
Merge #3641
...
3641: Bring back changes from `release v1.1.0` into `main` after v1.1.0 release r=curquiza a=curquiza
Replace https://github.com/meilisearch/meilisearch/pull/3637 since we don't want to pull commits from `main` into `release-v1.1.0` when fixing git conflicts
Co-authored-by: ManyTheFish <many@meilisearch.com >
Co-authored-by: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Co-authored-by: Charlotte Vermandel <charlottevermandel@gmail.com >
Co-authored-by: Tamo <tamo@meilisearch.com >
Co-authored-by: Louis Dureuil <louis@meilisearch.com >
Co-authored-by: curquiza <clementine@meilisearch.com >
Co-authored-by: Clément Renault <clement@meilisearch.com >
Co-authored-by: Many the fish <many@meilisearch.com >
2023-04-06 12:37:54 +00:00
67fd3b08ef
wait until all tasks are processed before running our dump integration tests
2023-04-05 18:35:43 +02:00
f267bed352
remove a unnecessary comment
...
Co-authored-by: Tamo <irevoire@protonmail.ch >
2023-04-05 13:44:55 +02:00
597d57bf1d
Merge branch 'main' into bring-back-changes-v1.1.0
2023-04-05 11:32:14 +02:00
0fba08cd72
fmt
2023-04-03 20:18:26 +02:00
189d4c3b70
add geoPoint integration tests
2023-04-03 20:18:26 +02:00
52b4090286
update integration tests
2023-04-03 20:18:26 +02:00
950f73b8bb
Merge #3623
...
3623: Update mini-dashboard to version v0.2.7 r=curquiza a=bidoubiwa
## Changes
* Retrieve the API Key from the url parameters (#416 ) `@qdequele`
## đ Bug Fixes
* Fix show more button not displaying all fields (#419 ) `@bidoubiwa`
Thanks again to `@bidoubiwa,` and `@qdequele!` đ
Co-authored-by: Charlotte Vermandel <charlottevermandel@gmail.com >
2023-03-30 08:31:29 +00:00
e7153e0a97
Update mini-dashboard to version V0.2.7
2023-03-29 14:49:39 +02:00
6592746337
Fix other unrelated tests
2023-03-29 14:36:17 +02:00
cf5145b542
Reduce the time to import a dump
...
With this commit, for a dump containing 1M tasks we went from 3m36s to import the task queue down to 1m02s
2023-03-29 14:27:40 +02:00
b744f33530
Add test
2023-03-29 12:01:52 +02:00
a2b151e877
ensure that the task queue is correctly imported
...
reduce the size of the snapshots file
2023-03-21 14:41:46 +01:00
ea016d97af
Implementing an IS EMPTY filter
2023-03-15 14:12:34 +01:00
fa2ea4a379
Update the test to accept the new IS syntax
2023-03-14 10:31:27 +01:00