Commit Graph

35 Commits

Author SHA1 Message Date
Andrey "MOU" Larionov
b69f8d67c3 Added test to verify response encoding
Alongside request encoding (compression) support, it is helpful to verify that the server respect `Accept-Encoding` headers and apply the corresponding compression to responses.
2022-10-13 00:56:57 +02:00
Andrey "MOU" Larionov
11b986a81d Added support for specifying compression in tests
Refactored tests code to allow to specify compression (content-encoding) algorithm.

Added tests to verify what actix actually handle different content encodings properly.
2022-10-09 22:09:29 +02:00
pierre-l
36cb09eb25 Add a new meilisearch_types crate
Move `meilisearch_error` to `meilisearch_types::error`
Move `meilisearch_lib::index_resolver::IndexUid` to `meilisearch_types::index_uid`
Add a new `InvalidIndexUid` error in `meilisearch_types::index_uid`
2022-06-09 16:14:13 +02:00
ManyTheFish
a7bff35e49 fix(test): Reduce default index size in tests 2022-06-07 15:16:34 +02:00
Irevoire
627f13df85 feat(http): paginate the index resource
Fix #2373
2022-05-31 18:11:45 +02:00
Kerollmops
d2f457a076 Rename the uid to taskUid in asynchronous response 2022-05-31 11:33:20 +02:00
Irevoire
05c8d81e65 chore: get rid of chrono in favor of time
Chrono has been unmaintened for a few month now and there is a CVE on it.

make clippy happy

bump milli
2022-02-16 18:14:29 +01:00
Tamo
d7df4d6b84 test: Ignore the auths tests on windows
Since the auths tests fail sporadically on the windows CI but we can't
reproduce these failures with a real windows machine we are going to
ignore theses one.
But we still ensure they compile.
2021-12-22 12:39:48 +01:00
Marin Postma
a30e02c18c feat(all): Task store
implements:
https://github.com/meilisearch/specifications/blob/develop/text/0060-refashion-updates-apis.md

linked PR:

- #1889
- #1891
- #1892
- #1902
- #1906
- #1911
- #1914
- #1915
- #1916
- #1918
- #1924
- #1925
- #1926
- #1930
- #1936
- #1937
- #1942
- #1944
- #1945
- #1946
- #1947
- #1950
- #1951
- #1957
- #1959
- #1960
- #1961
- #1962
- #1964

- https://github.com/meilisearch/milli/pull/414
- https://github.com/meilisearch/milli/pull/409
- https://github.com/meilisearch/milli/pull/406
- https://github.com/meilisearch/milli/pull/418

- close #1687
- close #1786
- close #1940
- close #1948
- close #1949
- close #1932
- close #1956
2021-12-02 20:14:42 +01:00
many
30a094cbb2 Change lacking errors 2021-11-03 14:33:33 +01:00
many
ff0908d3fa Ignore errors tests that show unrelated bugs 2021-10-28 11:41:59 +02:00
many
7464720426 Fix some errors 2021-10-28 10:47:59 +02:00
many
8ec0c4c913 Add bad_request error tests 2021-10-27 11:13:12 +02:00
Kerollmops
c388dca5ec Check that invalid updates do not create an index with a primary key 2021-09-30 15:46:04 +02:00
mpostma
2f3a439566 fix tests 2021-07-05 16:31:52 +02:00
mpostma
bc85d30076 add test 2021-07-05 12:33:28 +02:00
Clémentine Urquizar
2e3d85c31a Update milli version to v0.5.0 2021-06-22 15:57:46 +02:00
marin postma
0dfd1b74c8 fix tests 2021-06-21 12:11:08 +02:00
marin postma
02277ec2cf reintroduce anyhow 2021-06-21 12:11:06 +02:00
Clémentine Urquizar
9e8888b603 Fix clippy errors 2021-06-17 18:50:18 +02:00
mpostma
2d19b78dd8 fix stats test 2021-06-10 16:03:48 +02:00
Clémentine Urquizar
f80ea24d2b Add tests on every platform and fix clippy errors 2021-04-27 12:42:59 +02:00
Alexey Shekhirin
87412f63ef feat(http): implement is_indexing for stats 2021-04-09 14:34:42 +03:00
Alexey Shekhirin
09d9a29176 test(http): server & index stats 2021-04-09 14:34:42 +03:00
bors[bot]
764ced8b5c Merge #88
88: restore name field in index meta r=MarinPostma a=MarinPostma

Makes the IndexMetadata payload iso with legacy meilisearch and closes #67 


Co-authored-by: mpostma <postma.marin@protonmail.com>
2021-03-16 15:50:08 +00:00
mpostma
58fab035bb delete index returns 204 instead of 200 2021-03-15 18:44:33 +01:00
mpostma
07bb1e2c4e fix tests 2021-03-15 18:38:13 +01:00
mpostma
dd324807f9 last review edits + fmt 2021-03-15 18:11:10 +01:00
mpostma
abbea59732 fix clippy warnings 2021-03-15 16:52:05 +01:00
mpostma
2ee2e6a9b2 clean project 2021-03-12 14:57:24 +01:00
mpostma
c4846dafca implement update index 2021-03-12 14:48:43 +01:00
mpostma
e4d45b0500 fix various bugs 2021-03-12 00:37:43 +01:00
mpostma
271c8ba991 change index name to uid 2021-03-11 22:47:29 +01:00
mpostma
0cd8869349 update relevant changes from master 2021-03-10 14:43:10 +01:00
mpostma
5ecf514d28 restructure project 2021-03-10 13:46:49 +01:00