Tamo
c433bdd1cd
add a view for the task queue in the metrics
2023-05-25 12:58:13 +02:00
Tamo
57d53de402
Increase the number of buckets
2023-05-24 10:47:15 +02:00
Tamo
11e394dba1
merge the document fetch and get error codes
2023-05-04 15:39:49 +02:00
Tamo
469d2f2a9c
fix the fields field of the POST fetch document API
2023-05-04 15:34:09 +02:00
Tamo
ed3dfbe729
add error codes and tests
2023-05-04 15:34:08 +02:00
Louis Dureuil
441641397b
Implement document get with filters
2023-05-04 15:32:34 +02:00
Louis Dureuil
d5059520aa
Fix typo
2023-05-03 22:27:03 +02:00
Tamo
b5fe0b2b07
fix the details
2023-05-03 17:41:50 +02:00
Tamo
0548ab9038
create and use the error code
2023-05-03 17:41:50 +02:00
Tamo
143acb9cdc
update the tests
2023-05-03 17:41:49 +02:00
Tamo
4b92f1b269
wip
2023-05-03 17:41:49 +02:00
Louis Dureuil
732c52093d
Processing time without autobatching implementation
2023-05-03 17:41:48 +02:00
Louis Dureuil
05cc463fbc
Draft implementation of filter support for /delete-by-batch route
2023-05-03 17:41:48 +02:00
Tamo
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
Louis Dureuil
2f5b9fbbd8
Restore contribution of the index sizes to the db size
...
- the index size now contributes to the db size even if the index is not authorized
2023-03-07 14:05:27 +01:00
Louis Dureuil
076a3d371c
Eagerly compute stats as fallback to the cache.
...
- Refactor all around to avoid spawning indexes more times than necessary
2023-03-06 16:57:31 +01:00
Tamo
fd5c48941a
Add cache on the indexes stats
2023-03-06 16:57:31 +01:00
Louis Dureuil
d4d4702f1b
Rephrase hint message
2023-02-27 13:46:16 +01:00
Tamo
dc533584c6
Forbid the usage of the metrics route if your API key have a limitation on the indexes
2023-02-23 17:13:22 +01:00
bors[bot]
89ac1015f3
Merge #3524
...
3524: Update the metrics route r=irevoire a=irevoire
Fixes #3523
Make the metrics available by default without a feature flag.
+ Rename the cli-flag to `experimental-enable-metrics`.
Co-authored-by: Tamo <tamo@meilisearch.com>
2023-02-23 15:11:10 +00:00
Tamo
8a1b1a95f3
comment the right of the metrics
2023-02-23 13:59:01 +01:00
Tamo
8d47d2d018
update the auth api after the rebase
2023-02-23 13:15:51 +01:00
Tamo
68e30214ca
remove the feature flag and reorganize the module slightly
2023-02-23 12:26:21 +01:00
Louis Dureuil
3db613ff77
Don't iterate all indexes manually
2023-02-23 11:29:09 +01:00
bors[bot]
f62703cd67
Merge #3534
...
3534: Update the csv error code from InvalidIndexCsvDelimiter to InvalidDocumentCsvDelimiter r=Kerollmops a=irevoire
Fixes #3533
Co-authored-by: Tamo <tamo@meilisearch.com>
2023-02-23 07:05:12 +00:00
Tamo
76f82c880d
update the csv error code from InvalidIndexCsvDelimiter to InvalidDocumentCsvDelimiter
2023-02-22 19:26:48 +01:00
Louis Dureuil
a23fbf6c7b
multi-search: Add search with an array of indexes
2023-02-22 17:04:12 +01:00
Louis Dureuil
14c4a222da
Authentication: AuthFilter::allow_index_creation both check that the index is authorized and the IndexCreate action
2023-02-22 16:37:13 +01:00
Louis Dureuil
690bb2e5cc
Authentication: Make allow_index_creation a private field
2023-02-22 16:35:52 +01:00
Louis Dureuil
42577403d8
Authentication: Directly pass the authfilter to the index scheduler
2023-02-22 16:35:52 +01:00
Louis Dureuil
c8c5944094
Authentication: is_index_authorized takes into account API key indexes even with a tenant token
2023-02-22 16:35:52 +01:00
Tamo
1479050f7a
apply review suggestions
2023-02-20 14:53:37 +01:00
Tamo
e79f6f87f6
make cargo fmt&clippy happy
2023-02-16 18:00:40 +01:00
Tamo
8c074f5028
implements the csv delimiter without tests
...
Co-authored-by: Maxi Barmetler <maxi.barmetler@gmail.com>
2023-02-16 17:35:36 +01:00
Tamo
42a3cdca66
get rids of the unwrap_any function in favor of take_cf_content
2023-02-14 20:06:31 +01:00
Tamo
a43765d454
use the pre-defined deserr extractors
2023-02-14 20:05:30 +01:00
Tamo
769576fd94
get rids of the whole error_message module since it has been integrated into the last version of deserr
2023-02-14 20:05:27 +01:00
Tamo
8fb7b1d10f
bump deserr
2023-02-14 20:04:30 +01:00
Clément Renault
4570d5bf3a
Merge remote-tracking branch 'origin/main' into temp-wildcard
2023-02-09 13:14:05 +01:00
Kerollmops
184b8afd9e
Make it work in the CreateApiKey struct
2023-01-25 15:01:50 +01:00
Tamo
a858531574
apply review comments
2023-01-25 14:51:36 +01:00
Tamo
c92948b143
Compute the size of the auth-controller, index-scheduler and all update files in the global stats
2023-01-25 11:25:02 +01:00
bors[bot]
8fb685f5aa
Merge #3401
...
3401: improve the error messages for the immutable fields r=dureuill a=irevoire
Fix https://github.com/meilisearch/meilisearch/issues/3400
Co-authored-by: Tamo <tamo@meilisearch.com>
2023-01-19 15:52:50 +00:00
Tamo
e3742a38d4
improve the error messages for the immutable fields
2023-01-19 16:49:44 +01:00
Louis Dureuil
72e2b220ed
Fix tests
2023-01-19 15:48:20 +01:00
Tamo
a4476c20f8
fix a wrong error code and add tests on the document resource
2023-01-18 15:28:02 +01:00
Loïc Lecrenier
e225608337
Use invalid_index_uid error code in more places
2023-01-17 15:28:06 +01:00
Loïc Lecrenier
56e79fa850
Update task snapshot test and clean up details
2023-01-17 13:19:04 +01:00
Loïc Lecrenier
b781f9a0f9
cargo fmt
2023-01-17 11:07:07 +01:00
Loïc Lecrenier
9194508a0f
Refactor query parameter deserialisation logic
2023-01-17 11:07:07 +01:00