Commit Graph

66 Commits

Author SHA1 Message Date
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
mpostma
fac35e34e9 fix numm facets in response 2020-05-26 16:30:27 +02:00
qdequele
92ce0f5c2b
update normalize_path middleware 2020-05-23 12:20:27 +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
f38d0d731f style fix 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
7a8e64be30
add normalize_slashes middleware 2020-05-12 15:34:07 +02:00
mpostma
d7f099d3ba enables faceted search 2020-05-11 17:38:52 +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
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
5e2861ff55
prepare architecture for tests 2020-04-28 17:45:22 +02:00
Quentin de Quelen
73b5c87cbb
add search endpoint; warn unwrap 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
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
Quentin de Quelen
500eeca3fb Rework query highlight/crop parameters 2020-04-10 11:12:58 +02:00
mposmta
3e031d8297 adds error handling and integration 2020-04-09 17:13:34 +02: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
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
qdequele
8204d961de
allow api key in header when no master-key is set; fix #515 2020-03-10 15:59:16 +01:00
qdequele
b06e33f3d3
fix errors on http parameter naming 2020-03-10 12:08:10 +01:00
qdequele
c984d8d5a5
rename identifier into primaryKey; fix #514 2020-03-09 18:45:29 +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
dda08d60d2
cargo fmt 2020-02-27 14:33:57 +01:00
Clément Renault
9d167c08f4
Rename the Exact criterion into Exactness 2020-02-25 14:16:55 +01:00
qdequele
257b7b4df4
introduce new key management 2020-02-14 12:54:07 +01:00
qdequele
ce8e12c7c5
update tests 2020-02-13 12:24:30 +01:00
qdequele
dc9ca2ebc9
fixes for review 2020-02-12 16:51:14 +01:00
qdequele
a5b0e468ee
fix for review 2020-02-11 15:28:00 +01:00
qdequele
faf0dd2f44
do not show matches on undesired fields 2020-02-11 15:27:58 +01:00
Quentin de Quelen
b1528f9466
allow to see highlihts with matches and crop; fix #450 #449 2020-02-11 15:27:58 +01:00
qdequele
7a491a64c0
add test 2020-02-11 15:27:58 +01:00