Commit Graph

9193 Commits

Author SHA1 Message Date
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
Kerollmops
014a25697d
Use only one ARC cache based on the words 2020-07-01 12:03:18 +02:00
Kerollmops
fc4013a43f
Fix the ARC cache 2020-07-01 10:35:07 +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
mpostma
0545424781 update changelog 2020-06-30 20:47:00 +02:00
mpostma
69af8e9e3d bump meilisearch to 0.12.0 2020-06-30 20:42:19 +02:00
Clément Renault
9c7abebde4
Merge pull request #816 from MarinPostma/fix-index-length
Fix long documents not being indexed completely bug
2020-06-30 19:19:07 +02:00
mpostma
e240591128 add test document over 1000 words 2020-06-30 18:49:33 +02:00
mpostma
0bceaa5669 add test for long document indexing 2020-06-30 17:46:23 +02:00
mpostma
3423c0b246 fix indexed document length bug 2020-06-30 17:46:23 +02:00
Clément Renault
0953d99198
Merge pull request #809 from MarinPostma/bump-script
Bump script
2020-06-30 13:54:07 +02:00
mpostma
7ad835baf5 add bump script 2020-06-30 13:45:39 +02:00
Clément Renault
8309e00ed3
Merge pull request #801 from MarinPostma/make-clippy-happy
Make clippy happy
2020-06-30 12:25:33 +02:00
mpostma
4f6a6b1359 make clippy happy 2 2020-06-30 11:01:07 +02:00
mpostma
21253a2bcb make setting enums more balanced 2020-06-30 11:01:07 +02:00
mpostma
8e9296c66f simplify bucket sort signature 2020-06-30 11:01:07 +02:00
mpostma
641d12fb2d make clippy happy 1 2020-06-30 11:01:07 +02:00
Clément Renault
2019db972d
Merge pull request #805 from MarinPostma/error-code-rename
rename error codes
2020-06-30 10:33:16 +02:00
Kerollmops
2fcae719ad
Use another LRU impl which uses hashbrown 2020-06-29 22:26:06 +02:00
Kerollmops
f98b615bf3
Replace the LRU by an Arc cache 2020-06-29 20:48:57 +02:00
Kerollmops
07abebfc46
Introduce a (too big) LRU cache 2020-06-29 18:15:03 +02:00
mpostma
0d2f5d3fe0 rename error codes 2020-06-29 14:37:51 +02:00
Kerollmops
5f0088594b
Index by writing directly into LMDB 2020-06-29 13:54:47 +02:00
Clément Renault
21567eeb8f
Merge pull request #800 from MarinPostma/distinct-attribute-return-correct-name
Fix distinct attribute returning id instead of name
2020-06-29 10:42:57 +02:00
Kerollmops
8453828a65
Update the README 2020-06-28 12:40:08 +02:00
Kerollmops
63cbeca64e
Skip all derived words when too short 2020-06-28 12:13:12 +02:00
Kerollmops
736f0f7560
Use the proximity instead of the attributes when searching for <= 7 proximities 2020-06-28 12:13:12 +02:00
Kerollmops
fe3be8f18a
Replace the HashMap by a Vec for attributes documents ids 2020-06-28 12:13:12 +02:00
Kerollmops
6a2834f2b0
Add a jobs parameter to set the number of threads the indexer uses 2020-06-28 12:13:10 +02:00
mpostma
b1272d05b4 Test get distinct attribute 2020-06-27 10:38:08 +02:00
mpostma
feb12a581e fix distinct attribute returning id instead of name 2020-06-27 10:30:27 +02:00
marin
4ad4d7cf34
Merge pull request #796 from meilisearch/bump-version
Bump meilisearch version
2020-06-25 15:19:06 +02:00
mpostma
a38498fe1e update changelog 2020-06-25 14:31:45 +02:00
mpostma
8ea6ef1e90 bump meilisearch version 2020-06-25 14:28:50 +02:00
Erlend Sogge Heggen
4f2b68eef1
Update CONTRIBUTING.md
Change Git links to chris.beams post
2020-06-24 19:49:20 +02:00
Kerollmops
7e16afbdce
Ignore documents which are not part of the candidates when exploring with A* 2020-06-24 15:06:45 +02:00
Kerollmops
1c7a9a4132
Remove the found documents from the candidates list 2020-06-24 15:00:26 +02:00
Kerollmops
50169b9798
Compute the full list of ids we are willing to find by attribute 2020-06-24 14:48:04 +02:00
Clément Renault
f1d55314d5
Merge pull request #793 from MarinPostma/fix-sysinfos
Fix sysinfos
2020-06-23 19:13:04 +02:00
mpostma
c7701ebd19 partial sysinfo fix 2020-06-23 14:37:29 +02:00
Kerollmops
374ec6773f
Introduce a database to store all docids for a word and attribute 2020-06-22 19:24:20 +02:00
Kerollmops
a044cb6cc8
Clean up the warnings for prefix postings 2020-06-22 18:10:31 +02:00
Kerollmops
ba3e805981
Document the Index types and the internal LMDB databases 2020-06-22 18:09:22 +02:00
Kerollmops
2f0e1afd16
Introduce the roaring bitmap heed codec 2020-06-22 17:56:07 +02:00
Clément Renault
05c3f598ac
Merge pull request #778 from MarinPostma/consistent-settings
Make settings more consistent
2020-06-22 15:32:50 +02:00
mpostma
3d771f2289 test distinct attribute 2020-06-22 12:16:35 +02:00