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
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
mpostma
ced6cc0e23
fix bad error report when primary key exists
2020-07-02 15:16:48 +02:00
Rio Kierkels
f60b912f12
feat(analytics): log if analytics are enabled
2020-07-02 14:33:25 +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
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
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
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
mpostma
69af8e9e3d
bump meilisearch to 0.12.0
2020-06-30 20:42:19 +02:00
mpostma
0bceaa5669
add test for long document indexing
2020-06-30 17:46:23 +02:00
mpostma
4f6a6b1359
make clippy happy 2
2020-06-30 11:01:07 +02:00
mpostma
641d12fb2d
make clippy happy 1
2020-06-30 11:01:07 +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
mpostma
8ea6ef1e90
bump meilisearch version
2020-06-25 14:28:50 +02:00
mpostma
c7701ebd19
partial sysinfo fix
2020-06-23 14:37:29 +02:00
mpostma
3d771f2289
test distinct attribute
2020-06-22 12:16:35 +02:00
mpostma
8035ca7138
fix distinct attribute behavior
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
3143ffe208
remove unused dependencies
2020-06-19 13:59:40 +02:00
mpostma
e5079004e1
adds SearchQueryPost
2020-06-15 16:28:08 +02:00
mpostma
2d31371975
fix style
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
0ebf7b6214
fix CORS config error in actix
2020-06-15 16:28:08 +02:00
mpostma
6add10b18f
add search post route
2020-06-15 16:28:08 +02:00
mpostma
940105efb3
change cors max age
2020-06-15 16:28:08 +02:00
mpostma
3e13e728aa
add post method
2020-06-15 16:28:08 +02:00
mpostma
8cd224899c
move search logic out of search route
2020-06-15 16:28:08 +02:00
Kerollmops
8aeeea8382
Bump the Meilisearch crates version to 0.11.0
2020-06-15 10:54:16 +02:00
mpostma
ff2490ca8b
fix tests
2020-06-10 12:30:33 +02:00
mpostma
2ada9c5d72
add error on search with empty facets
2020-06-10 12:30:33 +02:00
mpostma
6fee7e638c
fix typo in error message
2020-06-06 09:05:28 +02:00
mpostma
d007bf13f1
change missing headers & auth status code
2020-06-05 15:44:38 +02:00
mpostma
56b01ba440
test error delete unexisting index
2020-06-05 11:40:18 +02:00
mpostma
11e00c906f
error when deleting unexisting index
2020-06-05 11:33:59 +02:00
mpostma
cf6c6eb117
test invalid query params
2020-06-04 14:48:37 +02:00
mpostma
6df56c4ec5
add error handler for query params error
2020-06-04 14:48:37 +02:00
Kerollmops
263583c118
Remove http-service/-mock from the dependencies
2020-06-04 14:04:18 +02:00
Daniel (dmilith) Dettlaff
73c60d7768
new: Updated sysinfo depdendency of meilisearch-http/Cargo.toml. This fixes #740
2020-06-04 13:08:12 +02:00
mpostma
3fe3c8cf02
test attributes_for_faceting subroutes
2020-06-03 11:31:58 +02:00
mpostma
ed051b65ad
default attributes_for_faceting to []
2020-06-03 11:31:32 +02:00
mpostma
8f0d9ccd87
add subroutes for attributes_for_faceting
2020-06-03 11:31:32 +02:00
qdequele
e51ea55ae3
add more analytics
2020-06-02 15:40:31 +02:00
Clementine Urquizar
f6c531a5a8
Change http into https in welcoming message links
2020-06-02 14:20:08 +02:00
mpostma
e95cec7ea6
add test for error_code
2020-06-01 11:06:57 +02:00
mpostma
db45826232
take existing_index out of create_index error
2020-05-30 12:10:35 +02:00
Kerollmops
1370b19402
Allow users to input an API Key to search into private data
2020-05-29 12:22:23 +02:00
mpostma
8a2e60dc09
requested changes
2020-05-28 19:19:26 +02:00
mpostma
05344043b2
style fixes
2020-05-28 16:28:37 +02:00
mpostma
d9e2e1a177
ErrorCode improvements
2020-05-28 16:23:46 +02:00
mpostma
4254cfbce5
reponse error payload
2020-05-28 16:23:46 +02:00
mpostma
3bd15a4195
fix tests, restore behavior
2020-05-28 16:23:46 +02:00
mpostma
c771694623
remove heed from http dependencies
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
e2db197b3f
change ResponseError to Error
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
Samuel Jimenez
8438ac9756
Rename fields_frequency into fields_distribution
2020-05-26 20:40:49 +02:00
Kerollmops
8cebf78485
Bump heed to 0.8.0 and handle abort errors
2020-05-26 17:04:13 +02:00
mpostma
fac35e34e9
fix numm facets in response
2020-05-26 16:30:27 +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
a7cda7f950
update sentry features to remove openssl
2020-05-25 11:29:59 +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
Kerollmops
bc7b0a38fd
Use fst 0.4.4 in the project
2020-05-22 15:01:55 +02:00
mpostma
c5daa4a256
fix tests
2020-05-22 10:38:14 +02:00
marinpostma
5193382b07
allow max payload size override
2020-05-22 10:37:41 +02:00
Kerollmops
ddeb5745be
Refactor a little bit
2020-05-20 17:01:57 +02:00
Kerollmops
a60e3fb1cb
Rename user ids into external docids
2020-05-20 15:08:56 +02:00
Kerollmops
788e2202c9
Reduce the DocumentId size from 64 to 32bits
2020-05-20 14:19:00 +02:00
Kerollmops
3bca31856d
Discover and remove documents ids
2020-05-20 14:18:59 +02:00
Nicolas DUDNICZENKO
2d2c933611
typo in route/health.rs: HealtBody -> HealthBody
2020-05-20 11:57:44 +02:00
Kerollmops
d300d788c7
Make the compute_document_id validate the id
2020-05-19 16:51:33 +02:00
Kerollmops
2828b5fa19
Move the helper function to their own module
2020-05-19 16:51:33 +02:00
Kerollmops
25b3c9a057
Remove the serde ExtractDocumentId struct
2020-05-19 16:51:33 +02:00
mpostma
a1d20ea8c8
remove keys in welcome message
2020-05-19 15:32:49 +02:00
marinpostma
2c9776c3e8
improve welcome message
2020-05-19 15:32:49 +02:00
mpostma
10d7dc75f3
update sentry
2020-05-19 10:27:55 +02:00
mpostma
9c1de3adfc
add tests
2020-05-14 12:57:38 +02:00
mpostma
a94ee167fc
fix unaligned highlight
2020-05-14 12:56:15 +02:00
mpostma
ce789682cc
remove unnecessary clone
2020-05-14 12:56:15 +02:00
mpostma
be1320d21d
enables debug without sentry
2020-05-14 10:54:15 +02:00
mpostma
28a3e4005a
adds test
2020-05-13 11:48:34 +02:00
mpostma
f38d0d731f
style fix
2020-05-13 11:48:34 +02:00
mpostma
5051a796a0
error handling
2020-05-13 11:48:34 +02:00
mpostma
869b6019c6
fix tests
2020-05-13 11:48:34 +02:00
mpostma
347045adf2
smarter field_id name passing
2020-05-13 11:29:46 +02:00
mpostma
e5126af458
enables facet count
2020-05-13 11:29:46 +02:00
mpostma
effbb7f7f1
add sort result struct
2020-05-12 18:22:24 +02:00
Quentin de Quelen
b96da94f92
fix issues from review
...
Co-authored-by: Clément Renault <clement@meilisearch.com>
2020-05-12 15:42:17 +02:00
qdequele
f2b7aea16c
add tests
2020-05-12 15:34:08 +02:00
qdequele
cd12e2717c
add errors on content-type and add more serde debug
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
d7f099d3ba
enables faceted search
2020-05-11 17:38:52 +02:00
mpostma
e07fe017c1
document update
2020-05-11 17:38:52 +02:00
mpostma
270c7b0288
facet settings
2020-05-11 16:12:13 +02:00
mpostma
59c67f6bc8
setting up facets
2020-05-11 16:12:13 +02:00
qdequele
b89e76ccb4
add sentry as default feature
2020-05-07 17:36:33 +02:00
qdequele
b62945961f
add sentry probe
2020-05-07 17:36:33 +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
Jan Emmens
c4287cdfac
Add support for configuring lmdb map size
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
36c7fd0cf1
fix requested changes
2020-04-28 17:47:04 +02:00
Quentin de Quelen
ea308eb798
remove timeout search query parameter
...
fix requested changes
2020-04-28 17:46:03 +02:00
Quentin de Quelen
bc8ff49de3
update authorization middleware with actix-web-macros
2020-04-28 17:46:03 +02:00
Quentin de Quelen
e74d2c1872
simplify error handling by impl errors traits on ResponseError
2020-04-28 17:46:03 +02:00
Quentin de Quelen
4bd7e46ba6
revert get document method
2020-04-28 17:46:03 +02:00
Quentin de Quelen
ff3149f6fa
remove search multi index
2020-04-28 17:46:03 +02:00
Quentin de Quelen
27b3b53bc5
update tests & fix the broken code
2020-04-28 17:46:03 +02:00
Quentin de Quelen
5e2861ff55
prepare architecture for tests
2020-04-28 17:45:22 +02:00
Quentin de Quelen
38d41252e6
add authentication middleware
2020-04-28 17:45:22 +02:00
Quentin de Quelen
5fed155f15
add middleware
2020-04-28 17:45:22 +02:00
Quentin de Quelen
6a1f73a304
clippy + fmt
2020-04-28 17:45:22 +02:00
Quentin de Quelen
22fbff98d4
add stop-word and synonym endpoints
2020-04-28 17:45:22 +02:00
Quentin de Quelen
85833e3a0a
add setting endpoint
2020-04-28 17:45:22 +02:00
Quentin de Quelen
b08f6737ac
change param tuples by struct
...
add settings endpoint; wip
2020-04-28 17:45:22 +02:00
Quentin de Quelen
5ec130e6dc
cleanup
2020-04-28 17:45:22 +02:00
Quentin de Quelen
6c581fb3bd
add index endpoint & key endpoint & stats endpoint
2020-04-28 17:45:21 +02:00
Quentin de Quelen
73b5c87cbb
add search endpoint; warn unwrap
2020-04-28 17:45:21 +02:00
Quentin de Quelen
0aa16dd3b1
add key endpoint
2020-04-28 17:45:21 +02:00
Quentin de Quelen
540308dc63
add interface endpoint & health endpoint
2020-04-28 17:45:21 +02:00
Quentin de Quelen
6d6c8e8fb2
Start change http server; finish document endpoint
2020-04-28 17:45:20 +02:00
Clément Renault
287226b609
Bump crates versions to v0.10.1
2020-04-28 15:55:29 +02:00
mpostma
812465e014
fixes parenthesis
...
adds tests
2020-04-27 22:29:29 +02:00
lironhl
867bd1ffd7
Tests for the new highlight algorithm
2020-04-27 20:10:40 +03:00
lironhl
16e075983d
Highlights result with longest match
2020-04-27 20:09:12 +03:00
lironhl
c1797c4e75
add overflow-wrap css property to content class
2020-04-22 11:33:18 +03:00
Clément Renault
979bea0327
Bump MeiliSearch version to v0.10
2020-04-10 15:43:03 +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
Quentin de Quelen
500eeca3fb
Rework query highlight/crop parameters
2020-04-10 11:12:58 +02:00
Quentin de Quelen
c3cf0cade9
fix tide cors
2020-04-10 10:13:43 +02:00
mposmta
193bded4b7
fixes broken tests
2020-04-09 18:26:48 +02:00