Commit Graph

256 Commits

Author SHA1 Message Date
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
mposmta
3e031d8297 adds error handling and integration 2020-04-09 17:13:34 +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
Clément Renault
eddd453564
Makes http-service a dev-dependency 2020-04-02 18:36:35 +02:00
Clément Renault
38c43759bb
Update most of the dependencies 2020-04-02 18:36:04 +02:00
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
Clément Renault
b0255076de
Merge branch 'master' into master 2020-03-27 19:43:02 +01:00
mposmta
158c2b5382 tests aligned crop 2020-03-27 18:38:41 +01:00
mposmta
2d1d59acb7 adds support for aligned cropping with cjk 2020-03-27 18:38:41 +01:00
mposmta
0088de9802 adds support for aligned crop in search result 2020-03-27 18:38:41 +01:00
Lei Wang
022aeac808 Stringify nested JSON object 2020-03-26 18:45:57 -07:00
Emre Saglam
451061f4b8
Merge branch 'master' into html-sanitize 2020-03-25 13:06:18 -07:00
Emre Saglam
ae17aa4955
Update meilisearch-http/public/interface.html
bypassing <em> tag after encoding the "<>"

Co-Authored-By: Clément Renault <renault.cle@gmail.com>
2020-03-25 12:48:59 -07:00
mposmta
a6dcd7a421 fixes tests
fixes tests impacted by sifnature change of query
2020-03-25 15:17:20 +01:00
mposmta
fa9b7dd29f removes useless deserializer for SearchResult 2020-03-25 13:59:15 +01:00
mposmta
fd65cf9dcb populates exhaustive number of hits 2020-03-25 12:44:38 +01:00
mposmta
6e9d7f94d4 adds exhaustive number hits to search result 2020-03-25 12:11:37 +01:00
Emre Saglam
6151bc262f Added the missing function call 2020-03-24 11:03:16 -07:00
Emre Saglam
b62f9fabf2
Update meilisearch-http/public/interface.html
Co-Authored-By: Clément Renault <renault.cle@gmail.com>
2020-03-24 10:39:53 -07:00
Emre Saglam
86e1ba871f html sanitize
Added a function to sanitize the html
This is for browser side only.
2020-03-24 08:37:56 -07:00
Clément Renault
3ca8db2cc1
Bump the workspace crates to 0.9.0 2020-03-19 11:56:23 +01:00
Clément Renault
f6972ec682
Bump the workspace crates to 0.9.0-rc.1 2020-03-16 16:58:20 +01: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