199 Commits

Author SHA1 Message Date
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
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