Commit Graph

157 Commits

Author SHA1 Message Date
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
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
bc7b0a38fd Use fst 0.4.4 in the project 2020-05-22 15:01:55 +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
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
5051a796a0 error handling 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
mpostma
d7f099d3ba enables faceted search 2020-05-11 17:38:52 +02:00
mpostma
270c7b0288 facet settings 2020-05-11 16:12:13 +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
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
Quentin de Quelen
c6fb591348 add * on attributesToRetrieve 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
Clément Renault
38c43759bb
Update most of the dependencies 2020-04-02 18:36:04 +02: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
ef3bcd65ab
fix comments from review 2020-03-10 15:59:11 +01:00
qdequele
179969a9e2
fix tests + fmt 2020-03-10 11:29:56 +01:00
qdequele
c984d8d5a5
rename identifier into primaryKey; fix #514 2020-03-09 18:45:29 +01:00
qdequele
86c3482cbd
review the internal schema to allow to create schema without identifier; fix #513 2020-03-09 18:45:20 +01:00
qdequele
16a99aa95e update to infer identifier; fix #498 2020-03-06 10:55:25 +01:00
qdequele
8df6d6e954 fix error 500 when sending bad rankingRules; fix #500 2020-03-06 10:15:19 +01:00
qdequele
8aeddec982 remove the route to get identifier on settings; fix #502 2020-03-06 10:15:19 +01:00
qdequele
f4ae0844ab replace index-new-field route to accept-new-fields; fix #503 2020-03-06 10:15:19 +01:00
qdequele
d56968cb23 default values of synonyms and stop-words; fix #499 fix #504 2020-03-06 10:15:19 +01:00
qdequele
c5b6e641a4 index UID format; fix #497 2020-03-06 10:15:19 +01:00
qdequele
54c675e195 fix delete-batch route; #493 2020-03-06 10:15:19 +01:00
qdequele
decce4d8e4
change route /keys/ -> /keys; #495 2020-03-05 15:33:02 +01:00
Clément Renault
5e31d28759
Fix the inference of the documents searchable fields 2020-03-03 20:54:17 +01:00
qdequele
dda08d60d2
cargo fmt 2020-02-27 14:33:57 +01:00
qdequele
3c74e71d4f
show default ranking rules if user reset them; fix #476 2020-02-27 11:30:17 +01:00
qdequele
2eb6f81c58
rename ranking_distinct to distinct_attribute; fix #474 2020-02-27 11:04:39 +01:00
qdequele
a067a1b16b
replace index_new_fields to accept_new_fields; fix #475 2020-02-27 11:04:38 +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
4986adc186
move identifier from settings to index; fix #470 2020-02-12 17:00:14 +01:00
qdequele
dc9ca2ebc9
fixes for review 2020-02-12 16:51:14 +01:00
qdequele
40d7396d90
update tests for settings 2020-02-11 15:28:01 +01:00
Quentin de Quelen
dc6907e748
rebase from master 2020-02-11 15:28:00 +01:00
Quentin de Quelen
2143226f04
setup clippy and make a pass on code 2020-02-11 15:28:00 +01:00
Quentin de Quelen
ea2a64a504
remove unecessary settings routes 2020-02-11 15:28:00 +01:00
qdequele
a5b0e468ee
fix for review 2020-02-11 15:28:00 +01:00
qdequele
14b5fc4d6c
cargo fmt 2020-02-11 15:28:00 +01:00
qdequele
50a9825a0f
fix some uses cases on settings 2020-02-11 15:27:59 +01:00
qdequele
5c49f08bb2
update settings routes 2020-02-11 15:27:59 +01:00
qdequele
bbf9f41a04
add cors 2020-02-11 15:27:59 +01:00
qdequele
6a32432b01
add /settings/index-new-fields routes 2020-02-11 15:27:59 +01:00
qdequele
037724576e
update tests 2020-02-11 15:27:59 +01:00
Quentin de Quelen
585bba43a0
set new attributes indexed if needed 2020-02-11 15:27:58 +01:00
qdequele
c276dda305
run cargo fmt 2020-02-11 15:27:58 +01:00
qdequele
58fe87067b
finish settings 2020-02-11 15:27:57 +01:00
Quentin de Quelen
dbba310770
squash me 2020-02-11 15:27:57 +01:00
Quentin de Quelen
6deb481589
definitely remove attributes_ranked on settings; auto create it with ranking_rules 2020-02-11 15:27:57 +01:00
qdequele
38d57d213f
expose api for new settings 2020-02-11 15:27:56 +01:00
qdequele
b71bbcffaa
simplify error handling 2020-02-11 15:27:56 +01:00
qdequele
f83e874e35
return the good created_at and updated_at on index creation 2020-02-11 15:27:55 +01:00
qdequele
1b3312871e
set name optional during index creation 2020-02-11 15:27:55 +01:00
qdequele
0e12920910
bump tide version 2020-02-11 15:27:55 +01:00
qdequele
4f0ead625b
adapt meilisearch-http to the new schemaless option 2020-02-11 15:27:54 +01:00
qdequele
bbe1845f66
squash-me 2020-02-11 15:27:54 +01:00
qdequele
2ee90a891c
introduce a new settings update system 2020-02-11 15:27:54 +01:00
qdequele
203c83bdb4
Remove SearchableAttributes; fix #429 2020-02-11 15:27:53 +01:00
qdequele
73918d803c
Rename AttributesToSearchIn into SearchableAttributes; fix #428 2020-02-11 15:27:53 +01:00
qdequele
c536ea64c3
Change the indexes stats HTTP route; fix #423 2020-02-11 15:27:53 +01:00
qdequele
aa7a6d5f8c
Rewrite the synonyms endpoint; fix #418 2020-02-11 15:27:53 +01:00
qdequele
91c6539baf
Rewrite the stop-words endpoint; fix #417 2020-02-11 15:27:53 +01:00
qdequele
f0590d3301
Change documents routes; fix #416 2020-02-11 15:27:53 +01:00
Clément Renault
d12ff15ee3
Set the indexes info in the create_index function 2019-12-19 10:38:56 +01:00
Clément Renault
7e86056a27
Use a main read transaction instead of a write one 2019-12-17 15:48:06 +01:00
Clément Renault
4610198ba2
Introduce a Bulma based web interface 2019-12-17 14:36:26 +01:00
Quentin de Quelen
0b5db77511 Fix erase setting option 2019-12-13 10:22:35 +01:00
Quentin de Quelen
6edef07e29 HTTP delete index route; Fix error on index not found 2019-12-12 14:06:16 +01:00