Commit Graph

214 Commits

Author SHA1 Message Date
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
qdequele 8204d961de
allow api key in header when no master-key is set; fix #515 2020-03-10 15:59:16 +01:00
qdequele ef3bcd65ab
fix comments from review 2020-03-10 15:59:11 +01:00
qdequele b06e33f3d3
fix errors on http parameter naming 2020-03-10 12:08:10 +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 041eed2a06 no id returned; fix #492 2020-03-06 10:15:19 +01:00
qdequele 54c675e195 fix delete-batch route; #493 2020-03-06 10:15:19 +01:00
qdequele 81ce90e57f update test 2020-03-06 10:15:19 +01:00
qdequele 6016f2e941 change wording of custom ranking rules `dsc` -> `desc`; #490 2020-03-06 10:15:19 +01:00
qdequele 4d27318b72 remove unnecessary comment on env Opt; #491 2020-03-06 10:15:11 +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 a2f0f95337
use distinct on search 2020-03-02 16:19:41 +01:00
qdequele 47009615ee
rename words_position to wordsPosition; fix #483 2020-02-27 16:24:49 +01:00
qdequele dda08d60d2
cargo fmt 2020-02-27 14:33:57 +01:00
qdequele f182afc50b
update tests 2020-02-27 11:30:23 +01:00
qdequele 3c74e71d4f
show default ranking rules if user reset them; fix #476 2020-02-27 11:30:17 +01:00
qdequele aa95c26e07
update tests 2020-02-27 11:04:39 +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
Clément Renault 96248d9bfa
Change the exactness criterion in the tests 2020-02-25 14:24:15 +01:00
Clément Renault 9d167c08f4
Rename the Exact criterion into Exactness 2020-02-25 14:16:55 +01:00
qdequele ad83c3ab5a
add launch resume & environment 2020-02-17 10:13:08 +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 f498bfed51
add test on /settings/ranking 2020-02-11 15:27:59 +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
qdequele 10b8a0ab00
add request middleware 2020-02-11 15:27:59 +01:00
qdequele faf0dd2f44
do not show matches on undesired fields 2020-02-11 15:27:58 +01:00
Quentin de Quelen 585bba43a0
set new attributes indexed if needed 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
qdequele 57503ad9bf
add test on search 2020-02-11 15:27:58 +01:00
qdequele c276dda305
run cargo fmt 2020-02-11 15:27:58 +01:00
qdequele b33dac9faa
add test for search + update ci for test in release 2020-02-11 15:27:57 +01:00
qdequele f77f38dfa0
fix update system 2020-02-11 15:27:57 +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
Quentin de Quelen 036977bfe4
add the possibility to totally clear the schema 2020-02-11 15:27:57 +01:00
Quentin de Quelen d280848ff6
add test for settings 2020-02-11 15:27:56 +01:00
Quentin de Quelen 6f534540a6
fix error on stop words fst 2020-02-11 15:27:56 +01:00
qdequele 38d57d213f
expose api for new settings 2020-02-11 15:27:56 +01:00
qdequele 7c14769226
add test for index creation 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 116a637cfd
set test for healthyness 2020-02-11 15:27:55 +01:00
qdequele 83cf683db4
introduce test for meilisearch-http 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 9790c393a0
Change the time measurement of the query 2019-12-30 15:42:08 +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
Clément Renault 248ccfc0d8
Update the criteria to the new ones 2019-12-13 14:38:24 +01:00
Quentin de Quelen 0b5db77511 Fix erase setting option 2019-12-13 10:22:35 +01:00
Quentin de Quelen 1ea29bb92e Fix unwrap if schema does not contain ranked attributes on a custom ranking setting 2019-12-12 16:37:46 +01:00
Quentin de Quelen 04d34cb8aa Search; return formated section only if it's necessary 2019-12-12 16:36:42 +01:00
Quentin de Quelen bf80729e17 Update message on access forbidden 2019-12-12 15:39:32 +01:00
Quentin de Quelen 6edef07e29 HTTP delete index route; Fix error on index not found 2019-12-12 14:06:16 +01:00
Quentin de Quelen a4f26e8e48 Rewrite the synonym endpoint 2019-12-12 12:47:02 +01:00
Clément Renault 04d1da11f7
Do not expect a JSON value as a document indentifer 2019-12-09 21:34:40 +01:00
Clément Renault 6fef04be20
Remove unsound unwraps from the synonym routes 2019-12-09 16:54:54 +01:00
Clementine Urquizar 06d8e00ff3 Keep only useful routes for /health 2019-12-08 17:56:33 +01:00
Clementine Urquizar e531ff2e98 Change HTTP status of update index route 2019-12-08 17:10:21 +01:00
Clément Renault dc1849d291
Bump heed to 0.6.1 2019-12-07 11:49:45 +01:00
Clementine Urquizar 075f4034d9 Use POST instead of DELETE method to delete stops-word 2019-12-05 18:07:56 +01:00
Thomas Payet 51636402c2 Add debian package in CI 2019-12-04 18:02:30 +01:00
Clément Renault 4f87465f18
Bump meilisearch crates to v0.8.4 2019-12-03 17:22:45 +01:00
Thomas Payet 710b7ea091 Update default listening port to 7700 2019-11-29 15:25:26 +01:00
Thomas Payet 089579d835 Update default database directory to working directory 2019-11-29 15:25:26 +01:00
Clément Renault 30cb60f679
Bump meilisearch crates to v0.8.3 2019-11-29 14:06:17 +01:00
Clément Renault 9a2b4d08e1
Bump meilisearch crates to v0.8.2 2019-11-28 17:15:13 +01:00
Clément Renault 83ad80d9db
Replace isahc by ureq 2019-11-28 16:41:42 +01:00
Clément Renault f6fb31c531
Bump meilisearch crates to v0.8.1 2019-11-27 11:47:27 +01:00
Clément Renault d08b76a323
Separate the update and main databases
We used the heed typed transaction to make it safe (https://github.com/Kerollmops/heed/pull/27).
2019-11-27 11:29:06 +01:00
Clément Renault 00d1200704
Rename the meilisearch-http binary into meilisearch 2019-11-26 11:17:30 +01:00
Clément Renault 7cc096e0a2
Rename MeiliDB into MeiliSearch 2019-11-26 11:12:30 +01:00