Commit Graph

1962 Commits

Author SHA1 Message Date
mpostma
5773c5c865 check version file against regex 2020-07-13 16:06:28 +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
mpostma
6f0b6933e6 update changelog 2020-07-13 16:05:56 +02:00
mpostma
f5a936614a error on meili database version mismatch 2020-07-13 16:05:08 +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
754efe1f42 fix document id uniqueness bug 2020-07-13 15:14:07 +02:00
bors[bot]
05c30c879f
Merge #791
791: Create tests for error codes r=LegendreM a=MarinPostma

- create tests for error codes
-  fix primary key error that returned internal error instead of the correct error
- bits of documentation for error
- change a bunch of error type, for better accuracy, @curquiza, @eskombro, @bidoubiwa  you may want to take a look at `meilisearch-error/src/lib.rs`
- fix #836 

Co-authored-by: mpostma <postma.marin@protonmail.com>
2020-07-13 13:12:21 +00:00
mpostma
99e8d4adae fix missing primary key 2020-07-13 14:54:25 +02:00
mpostma
ac63f1cd7a fix typo in error code 2020-07-13 14:54:25 +02:00
mpostma
169749396b update error types to be more accurate 2020-07-13 14:54:25 +02:00
bors[bot]
a0637c2c6d
Merge #842
842: bors setup r=LegendreM a=MarinPostma

set up bors to run the tests and merge automatically.

the tests are now run only on staging and trying branches

you can use `bors r+` to test and merge the branch into master if the tests succeed

or

you can just use `bors try` to run the test on the trying branch (synced with master)

Co-authored-by: mpostma <postma.marin@protonmail.com>
2020-07-10 13:27:21 +00:00
mpostma
edbba64711 fix bors.yaml 2020-07-08 21:04:07 +02:00
mpostma
9ba711dfe5 update readme with bors badge 2020-07-08 14:33:15 +02:00
mpostma
6bce83dde8 set bors timeout 2020-07-08 13:36:33 +02:00
mpostma
629a658c75 bors setup 2020-07-08 09:50:07 +02:00
Clément Renault
2f6c55ef78
Merge pull request #771 from MarinPostma/placeholder-search
Placeholder search
2020-07-03 18:56:55 +02:00
mpostma
a6457718f2 update changelog 2020-07-03 17:17:28 +02:00
mpostma
3bf23a7c59 test placeholder search
move search test macro to common module
2020-07-03 17:17:28 +02:00
mpostma
bbe3a10107 implement placeholder search 2020-07-03 17:17:28 +02:00
Clément Renault
37ee0f36c1
Merge pull request #792 from MarinPostma/error-codes-in-updates
Error codes in updates
2020-07-02 16:17:57 +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
41707e3245 fix error on missing document id in document 2020-07-02 15:18:30 +02:00
mpostma
3c51e9f5ed Enable error code reporting for update errors 2020-07-02 15:18:30 +02:00
mpostma
7d3e937134 add tests for error codes 2020-07-02 15:18:30 +02:00
mpostma
6445eea946 update error types to be more accurate 2020-07-02 15:18:28 +02:00
mpostma
ced6cc0e23 fix bad error report when primary key exists 2020-07-02 15:16:48 +02:00
Clément Renault
944a3943e5
Merge pull request #820 from MarinPostma/readme-update
update readme
2020-07-02 15:16:37 +02:00
mpostma
d419f151a0 update readme 2020-07-02 15:14:05 +02:00
Clément Renault
b2124822a3
Merge pull request #825 from Rio/log-analytics-usage
feat(analytics): log if analytics are enabled
2020-07-02 15:02:19 +02:00
Rio Kierkels
f60b912f12
feat(analytics): log if analytics are enabled 2020-07-02 14:33:25 +02:00
Clément Renault
e1f956ce18
Merge pull request #821 from aeriksson/patch-1
Fix typo in option.rs
2020-07-02 14:05:00 +02:00
marin
ab16e2eff1
fix merge error 2020-07-02 14:04:15 +02:00
marin
3da607749f
Merge branch 'master' into patch-1 2020-07-02 13:57:52 +02:00
Clément Renault
a626e5e935
Merge pull request #737 from balajisivaraman/wip_655
Improve test suite performance using Test Dataset
2020-07-02 13:51:38 +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
Clément Renault
92d9283d1a
Merge pull request #823 from Rio/public-health-endpoint
chore(http): do not require auth on /health endpoint
2020-07-01 17:01:23 +02:00
Rio Kierkels
9b46887f75
chore(http): do not require auth on /health endpoint
This makes it easier to determine the health of the server using http.

closes #822
2020-07-01 16:33:01 +02:00
Clément Renault
ad267cbe59
Merge pull request #813 from Rio/remove-hardcoded-sentry-dsn
feat(sentry): make sentry dsn customizable
2020-07-01 16:15:21 +02:00
André Eriksson
029772e11f
Fix typo in option.rs 2020-07-01 13:45:00 +02:00
Rio Kierkels
2ef888d100
chore(sentry): make sentry dsn customizable
By removing the hardcoded value the sentry client will fall back to pulling
it from the SENTRY_DSN environment variable. The hardcoded value has been
moved to the default value of the commandline options so the default
behavior will be the same.

A `--no-sentry` and `MEILI_NO_SENTRY` option has also been introduced
that effectively disables sentry reporting.
2020-07-01 12:55:14 +02:00
marin
4e1e41994c
Merge pull request #817 from meilisearch/bump-version
Bump meilisearch to version 0.12.0
2020-06-30 21:24:47 +02:00