Commit Graph

174 Commits

Author SHA1 Message Date
bors[bot]
e258e0b2c2
Merge #887
887: backup r=Kerollmops a=LegendreM

[Tracking Issue](https://github.com/meilisearch/MeiliSearch/issues/840)
[Documentation PR](https://github.com/meilisearch/documentation/pull/468)
[Other relevant issue](https://github.com/meilisearch/MeiliSearch/issues/884)

Co-authored-by: many <maxime@meilisearch.com>
2020-09-28 12:47:08 +00:00
many
c254320860
Implement backups
* trigger backup importation via http route
* follow backup advancement with status route
* import backup via a command line
* let user choose batch size of documents to import (command lines)

closes #884
closes #840
2020-09-28 14:40:06 +02:00
qdequele
51fd849852 cargo fmt 2020-09-28 14:23:32 +02:00
qdequele
ab170ce4fd add test 2020-09-28 14:19:45 +02:00
mpostma
030bcd8b05 Revert "facet count more tests"
This reverts commit 954f572e79.
2020-09-24 16:40:18 +02:00
mpostma
63260e6443 add tests for documents 2020-09-22 16:05:40 +02:00
mpostma
a794970b72 additional tests for index 2020-09-22 10:51:34 +02:00
mpostma
954f572e79 facet count more tests 2020-09-01 10:27:50 +02:00
mpostma
4ecaf99047 fix test option test 2020-08-24 14:14:11 +02:00
many
94b3e8e56e
fix bug and add tests
- add tests about updates
- fix select bug

fix #896
2020-08-19 09:51:57 +02:00
mpostma
afacdbc7a0 update tests for facets distribution case 2020-08-12 10:31:11 +02:00
mpostma
d114250ebb requested changes 2020-07-16 16:19:15 +02:00
mpostma
4b5437a882 fix displayed attrs empty array bug 2020-07-15 19:25:24 +02:00
mpostma
de4caef468 test reset attributes to wildcard 2020-07-15 18:56:19 +02:00
mpostma
36b763b84e test setting attributes before adding documents 2020-07-15 18:56:19 +02:00
mpostma
c06dd35af1 fix tests 2020-07-15 18:56:19 +02:00
mpostma
51d7c84e73 better exit on error
Update meilisearch-core/src/database.rs

Co-authored-by: Clément Renault <renault.cle@gmail.com>

Update meilisearch-core/src/database.rs

Co-authored-by: Clément Renault <renault.cle@gmail.com>
2020-07-13 16:06:28 +02:00
bors[bot]
308630c094
Merge #841
841: Unique docid bugfix r=LegendreM a=MarinPostma

fix #827 

Co-authored-by: mpostma <postma.marin@protonmail.com>
2020-07-13 13:36:32 +00:00
mpostma
f54397e0cf test unique document id bug 2020-07-13 15:14:07 +02:00
mpostma
99e8d4adae fix missing primary key 2020-07-13 14:54:25 +02:00
mpostma
3bf23a7c59 test placeholder search
move search test macro to common module
2020-07-03 17:17:28 +02:00
mpostma
e92f544fd1 add test for update errors 2020-07-02 15:18:30 +02:00
mpostma
d7b49fa671 fix potential infinite loop 2020-07-02 15:18:30 +02:00
mpostma
7d3e937134 add tests for error codes 2020-07-02 15:18:30 +02:00
Balaji Sivaraman
3d73a4895e cleanup movies dataset and related functions 2020-07-02 16:52:39 +05:30
Balaji Sivaraman
979b01a1c0 update index status test to use the test dataset 2020-07-02 16:52:39 +05:30
Balaji Sivaraman
38cf489acf update remaining search tests to use the test dataset 2020-07-02 16:52:39 +05:30
Balaji Sivaraman
60264763f4 update search_settings tests to use the test dataset 2020-07-02 16:52:39 +05:30
Balaji Sivaraman
d55124e524 update settings_ranking_rules tests to use the test dataset 2020-07-02 16:52:39 +05:30
Balaji Sivaraman
643933c3b0 update settings tests to use the test dataset 2020-07-02 16:52:39 +05:30
Balaji Sivaraman
44fd9384bd update stop_words tests to use the test dataset 2020-07-02 16:52:39 +05:30
Balaji Sivaraman
75d0d2df6c update documents_delete tests to use the test dataset 2020-07-02 16:52:39 +05:30
mpostma
0bceaa5669 add test for long document indexing 2020-06-30 17:46:23 +02:00
mpostma
b1272d05b4 Test get distinct attribute 2020-06-27 10:38:08 +02:00
mpostma
3d771f2289 test distinct attribute 2020-06-22 12:16:35 +02:00
mpostma
60a90e96f3 add test for ranking rules settings 2020-06-22 12:16:35 +02:00
mpostma
179942b07a test facet document fix 2020-06-22 11:40:08 +02:00
mpostma
e5079004e1 adds SearchQueryPost 2020-06-15 16:28:08 +02:00
mpostma
26d29783ce add tests for post search route 2020-06-15 16:28:08 +02:00
mpostma
ff2490ca8b fix tests 2020-06-10 12:30:33 +02:00
mpostma
56b01ba440 test error delete unexisting index 2020-06-05 11:40:18 +02:00
mpostma
cf6c6eb117 test invalid query params 2020-06-04 14:48:37 +02:00
mpostma
3fe3c8cf02 test attributes_for_faceting subroutes 2020-06-03 11:31:58 +02:00
mpostma
e95cec7ea6 add test for error_code 2020-06-01 11:06:57 +02:00
mpostma
8a2e60dc09 requested changes 2020-05-28 19:19:26 +02:00
mpostma
3bd15a4195 fix tests, restore behavior 2020-05-28 16:23:46 +02:00
mpostma
d69180ec67 refactor errors / isolate core/http errors 2020-05-28 16:23:46 +02:00
mpostma
7c7f753463 add facet count in response 2020-05-28 12:08:38 +02:00
mpostma
b6570f7016 rename facets to facetsDistribution 2020-05-27 17:35:33 +02:00
qdequele
a5ab4b3f64
update tests 2020-05-26 14:16:25 +02:00
qdequele
7e6f068b18
add ssl support
format code

remove expects and unwrap
2020-05-26 14:16:25 +02:00
qdequele
92897e7ad0
add test 2020-05-23 12:20:28 +02:00
qdequele
92ce0f5c2b
update normalize_path middleware 2020-05-23 12:20:27 +02:00
mpostma
c5daa4a256 fix tests 2020-05-22 10:38:14 +02:00
mpostma
9c1de3adfc add tests 2020-05-14 12:57:38 +02:00
mpostma
28a3e4005a adds test 2020-05-13 11:48:34 +02:00
qdequele
f2b7aea16c
add tests 2020-05-12 15:34:08 +02:00
qdequele
7a8e64be30
add normalize_slashes middleware 2020-05-12 15:34:07 +02:00
mpostma
0ce2666d2f tests 2020-05-11 17:38:52 +02:00
mpostma
270c7b0288 facet settings 2020-05-11 16:12:13 +02:00
qdequele
2e55457ecc
implement default on DatabaseOptions 2020-05-07 15:40:44 +02:00
mpostma
2e3a765dac fix database options 2020-04-29 22:29:09 +02:00
Jan Emmens
17401cfbe9 Fix compilation error in unit tests 2020-04-29 09:21:07 +02:00
qdequele
99866ba484
fix test after rebase 2020-04-28 17:54:50 +02:00
Quentin de Quelen
27b3b53bc5
update tests & fix the broken code 2020-04-28 17:46:03 +02:00
Quentin de Quelen
6a1f73a304
clippy + fmt 2020-04-28 17:45:22 +02:00
mpostma
812465e014 fixes parenthesis
adds tests
2020-04-27 22:29:29 +02:00
Quentin de Quelen
c6fb591348 add * on attributesToRetrieve 2020-04-10 12:26:34 +02:00
Quentin de Quelen
644e78df89 Add some tests 2020-04-10 12:26:34 +02:00
mposmta
193bded4b7 fixes broken tests 2020-04-09 18:26:48 +02:00
Clément Renault
d24209f5a7
Adds a test to check that stop word ar correctly handled 2020-04-06 19:47:57 +02:00
Sai Kumar Gummaluri
16a63c74ea
Modifying the test name for better readability 2020-04-05 00:26:09 +05:30
sgummaluri
e5a336a042 Fix for 'First update does not appear before being processed' #542 2020-04-04 23:18:43 +05:30
Pedro Paulo de Amorim
02b79e0040 Modified JSON to add move conditions 2020-04-01 12:59:40 +01:00
Pedro Paulo de Amorim
95bb443430 Add empty seq 2020-04-01 12:59:40 +01:00
Pedro Paulo de Amorim
1b47a10e89 Add support for seq values 2020-04-01 12:59:40 +01:00
Pedro Paulo de Amorim
fbf7117d6a Rename function, add trailing line, replace JSON string with macro 2020-03-31 13:13:09 +01:00
Pedro Paulo de Amorim
51472142c6 Add test to check if nested null will be ignored 2020-03-31 12:00:13 +01:00
Clément Renault
69aee870da
Make the engine index booleans
The engine will see the values like text "true" and "false"
2020-03-31 10:39:58 +02:00
Quentin de Quelen
2d82f1b655 ranking fields should be stored and indexed by default; fix #521 2020-03-16 16:19:23 +01:00
qdequele
7be376721c
global settings update make partial update; fix #516 2020-03-11 14:42:58 +01:00
qdequele
ce0e8415d5
adding primary-key when adding documents does not work; fix #519 2020-03-11 14:12:38 +01:00
qdequele
4ccf1d10bd
error message when impossible to infer the primary-key; fix #517 2020-03-11 12:27:42 +01:00
qdequele
c25641ff2d
fix that AcceptNewFields does not take into account the primary-key; fix #518 2020-03-11 12:00:40 +01:00
qdequele
179969a9e2
fix tests + fmt 2020-03-10 11:29:56 +01:00
qdequele
c984d8d5a5
rename identifier into primaryKey; fix #514 2020-03-09 18:45:29 +01:00
qdequele
86c3482cbd
review the internal schema to allow to create schema without identifier; fix #513 2020-03-09 18:45:20 +01:00
qdequele
8df6d6e954 fix error 500 when sending bad rankingRules; fix #500 2020-03-06 10:15:19 +01:00
qdequele
f4ae0844ab replace index-new-field route to accept-new-fields; fix #503 2020-03-06 10:15:19 +01:00
qdequele
d56968cb23 default values of synonyms and stop-words; fix #499 fix #504 2020-03-06 10:15:19 +01:00
qdequele
c5b6e641a4 index UID format; fix #497 2020-03-06 10:15:19 +01:00
qdequele
041eed2a06 no id returned; fix #492 2020-03-06 10:15:19 +01:00
qdequele
54c675e195 fix delete-batch route; #493 2020-03-06 10:15:19 +01:00
qdequele
81ce90e57f update test 2020-03-06 10:15:19 +01:00
qdequele
6016f2e941 change wording of custom ranking rules dsc -> desc; #490 2020-03-06 10:15:19 +01:00
qdequele
a2f0f95337
use distinct on search 2020-03-02 16:19:41 +01:00
qdequele
47009615ee
rename words_position to wordsPosition; fix #483 2020-02-27 16:24:49 +01:00
qdequele
dda08d60d2
cargo fmt 2020-02-27 14:33:57 +01:00
qdequele
f182afc50b
update tests 2020-02-27 11:30:23 +01:00
qdequele
aa95c26e07
update tests 2020-02-27 11:04:39 +01:00