many
53b1483e71
fix pr comments
2020-10-22 16:12:55 +02:00
many
a0eafea200
fix tests
2020-10-22 15:46:20 +02:00
many
10dace305d
snapshot at start
2020-10-22 15:46:20 +02:00
many
1eace79f77
change error message to be absolute
2020-10-22 15:46:20 +02:00
many
e6033e174d
fix #1010
2020-10-22 15:46:20 +02:00
many
f1925b8f71
fix #1009
2020-10-22 15:46:20 +02:00
many
834f3cc192
rename folder to dir
2020-10-22 15:46:20 +02:00
many
e049aead16
improve dump status
2020-10-22 15:46:20 +02:00
many
5a842ec94a
clean PR #946
2020-10-19 17:16:25 +02:00
frbimo
6465a3f549
refactor /health on meilisearch-http that complies:
...
1. NEEDS to ensure that service is completely up if it returns 204
2. DOES NOT block service process (write transaction)
3. NEEDS to use the less network bandwidth as possible when it's triggered
4. NEEDS to use the less service resources as possible when it's triggered
5. DOES NOT NEED any authentication
6. MAY be named /health
2020-10-19 14:30:43 +08:00
mpostma
dc2e5ceed2
fix bug
2020-10-16 14:16:12 +02:00
many
1639a7338d
add test to reproduce #891 bug report
...
fix bug
2020-10-16 13:35:11 +02:00
bors[bot]
086020e543
Merge #1020
...
1020: Apply recommended updates from dependabot r=LegendreM a=qdequele
Co-authored-by: qdequele <quentin@dequelen.me>
2020-10-15 17:05:31 +00:00
qdequele
a27399cf65
apply recommanded updates from dependabot
2020-10-15 13:26:52 +02:00
bors[bot]
29b8810db8
Merge #914
...
914: lazily create an index on documents push r=LegendreM a=qdequele
Create an index if it's possible when a user trying to send data to a non-existing index. https://github.com/meilisearch/MeiliSearch/issues/918
Co-authored-by: qdequele <quentin@meilisearch.com>
Co-authored-by: qdequele <quentin@dequelen.me>
2020-10-15 09:37:15 +00:00
qdequele
a5a47911d1
add tests
2020-10-15 09:43:54 +02:00
bors[bot]
7bf6a3d7b2
Merge #984
...
984: Add test search r=LegendreM a=LegendreM
- Get an error if the index does not exist
- Get an error if a parameter is not expected (e.g.: "lol")
- Check a basic search with no parameter
- Check a basic search with only a q parameter
isssue #814
Co-authored-by: many <maxime@meilisearch.com>
2020-10-14 16:22:10 +00:00
bors[bot]
f359b64d59
Merge #946
...
946: Sort displayedAttributes field r=MarinPostma a=gorogoroumaru
Fix #943
displayedAttributes use the HashSet struct which is an unsorted structure, so I changed the implementation from HashSet into BTreeSet.
Co-authored-by: gorogoroumaru <zokutyou2@gmail.com>
2020-10-13 14:37:47 +00:00
qdequele
17f71a1a55
add lazy create index on settings handlers
2020-10-13 10:54:02 +02:00
qdequele
bfe3bb0eeb
create an helper to allow to delete the index on error
2020-10-13 10:54:02 +02:00
qdequele
0a67248bfe
cargo fmt
2020-10-13 10:54:02 +02:00
qdequele
2644f087d0
add tests
2020-10-13 10:54:02 +02:00
qdequele
91c8c7a2e3
lazily create an index during document addition
2020-10-13 10:54:02 +02:00
many
10c56d9919
Add test on search
...
related to SEARCH part in #814
2020-10-13 10:38:22 +02:00
qdequele
704defea78
fix clippy
2020-10-13 10:01:57 +02:00
gorogoroumaru
eb240c8b60
update test
2020-10-10 06:13:27 +00:00
gorogoroumaru
c3bcd7a410
Merge branch 'issue943' of https://github.com/gorogoroumaru/MeiliSearch into issue943
2020-10-10 02:58:16 +00:00
gorogoroumaru
26124e6436
update test
2020-10-10 02:56:44 +00:00
gorogoroumaru
3cd6f5c7ea
Merge branch 'master' into issue943
2020-10-10 11:50:45 +09:00
gorogoroumaru
7c646e031c
update test
2020-10-10 02:43:09 +00:00
Alex Krantz
726e867058
URL encode search in web UI
...
Fixes #986
2020-10-05 11:57:52 -07:00
gorogoroumaru
f4d918d22a
Merge branch 'master' into issue943
2020-10-02 21:01:31 +09:00
gorogoroumaru
5ef3a01b6c
Merge branch 'issue943' of https://github.com/gorogoroumaru/MeiliSearch into issue943
2020-10-02 20:01:13 +09:00
gorogoroumaru
5a98f1f076
sort facetsDistribution attribute
2020-10-02 20:00:55 +09:00
many
afc3b0915b
fix backups
...
* pluralize variable `backup_folder` -> `backups_folder`
* change env case `MEILI_backup_folder` -> `MEILI_BACKUPS_FOLDER`
* add miliseconds to backup ID to reduce colisions
* fix forgoten stats synchronization
2020-09-30 13:20:40 +02:00
mpostma
03d4651077
bump meilisearch
2020-09-28 16:56:05 +02:00
bors[bot]
32f6a9a457
Merge #976
...
976: Revert 944 r=MarinPostma a=MarinPostma
revert #944
@bidoubiwa @curquiza @eskombro, this was a misunderstanding from our side. Doing this would in fact be an error, and would prevent us to do this: https://github.com/meilisearch/MeiliSearch/issues/945#issuecomment-685526678 , which is what we are really after. We are resetting this to its default behaviour before it goes in prodution. Sorry for the confusion.
Co-authored-by: mpostma <postma.marin@protonmail.com>
2020-09-28 13:38:46 +00:00
bors[bot]
099a0802fc
Merge #916
...
916: Considere an empty query search as a placeholder search r=MarinPostma a=qdequele
Fix #856 ; Relative tracking issue: #729
Co-authored-by: qdequele <quentin@meilisearch.com>
2020-09-28 13:13:47 +00:00
bors[bot]
e258e0b2c2
Merge #887
...
887: backup r=Kerollmops a=LegendreM
[Tracking Issue](https://github.com/meilisearch/MeiliSearch/issues/840 )
[Documentation PR](https://github.com/meilisearch/documentation/pull/468 )
[Other relevant issue](https://github.com/meilisearch/MeiliSearch/issues/884 )
Co-authored-by: many <maxime@meilisearch.com>
2020-09-28 12:47:08 +00:00
many
c254320860
Implement backups
...
* trigger backup importation via http route
* follow backup advancement with status route
* import backup via a command line
* let user choose batch size of documents to import (command lines)
closes #884
closes #840
2020-09-28 14:40:06 +02:00
qdequele
51fd849852
cargo fmt
2020-09-28 14:23:32 +02:00
qdequele
ab170ce4fd
add test
2020-09-28 14:19:45 +02:00
qdequele
90226dc8a9
Considere an empty query search as a placeholder search #916
2020-09-28 14:19:45 +02:00
bors[bot]
394f2abd49
Merge #971
...
971: Meili tests r=MarinPostma a=MarinPostma
#869
Co-authored-by: mpostma <postma.marin@protonmail.com>
2020-09-24 16:06:35 +00:00
mpostma
030bcd8b05
Revert "facet count more tests"
...
This reverts commit 954f572e79c63e9b594cbda39597e3673d478aec.
2020-09-24 16:40:18 +02:00
mpostma
63260e6443
add tests for documents
2020-09-22 16:05:40 +02:00
mpostma
a794970b72
additional tests for index
2020-09-22 10:51:34 +02:00
Rob Ede
ba0f44e361
upgrade actix-web to v3
2020-09-21 22:37:54 +01:00
Clément Renault
84a3e95fa4
Merge branch 'stable'
2020-09-11 12:08:20 +02:00
many
87a76c2a60
bump version and update changelog
2020-09-08 18:11:03 +02:00
gorogoroumaru
0ca44b6a82
Merge branch 'master' into issue943
2020-09-02 13:09:37 +09:00
gorogoroumaru
e47b4acd08
changed the implementation of displayedAttributes from HashSet into BtreeSet
2020-09-02 11:13:16 +09:00
mpostma
954f572e79
facet count more tests
2020-09-01 10:27:50 +02:00
mpostma
4a9e56aa4f
bump meilisearch version 0.14.0
2020-08-24 15:49:09 +02:00
mpostma
4ecaf99047
fix test option test
2020-08-24 14:14:11 +02:00
mpostma
445a6c9ea2
update options name
2020-08-21 14:42:20 +02:00
many
94b3e8e56e
fix bug and add tests
...
- add tests about updates
- fix select bug
fix #896
2020-08-19 09:51:57 +02:00
Clementine Urquizar
6539be6c46
Fix typo in error message
2020-08-13 17:13:19 +02:00
many
9014290875
implement snapshot
2020-08-12 17:46:28 +02:00
mpostma
afacdbc7a0
update tests for facets distribution case
2020-08-12 10:31:11 +02:00
Thomas Payet
8c49ee1b3b
Fixes default values on web interface
2020-07-22 14:42:34 +02:00
mpostma
624bd56459
bump meilisearch version
2020-07-22 10:56:19 +02:00
bors[bot]
7dc628965c
Merge #846
...
846: Change settings behavior r=LegendreM a=MarinPostma
partially implements #824 .
Returning the field distribution for all know fields is more complicated that anticipated, see https://github.com/meilisearch/MeiliSearch/issues/824#issuecomment-657656561
If we decide to to it anyway, and find a reasonable solution, I will make another PR.
fix #853 by resetting displayed and searchable attributes to wildcard when attributes are set to `[]` in the all settings route. @curquiza @bidoubiwa can you confirm me that this is the expected behavior?
Co-authored-by: mpostma <postma.marin@protonmail.com>
2020-07-16 14:31:06 +00:00
mpostma
d114250ebb
requested changes
2020-07-16 16:19:15 +02:00
mpostma
83b6fc48e1
remove the sys-info routes
2020-07-15 19:33:29 +02:00
mpostma
4b5437a882
fix displayed attrs empty array bug
2020-07-15 19:25:24 +02:00
mpostma
de4caef468
test reset attributes to wildcard
2020-07-15 18:56:19 +02:00
mpostma
36b763b84e
test setting attributes before adding documents
2020-07-15 18:56:19 +02:00
mpostma
c06dd35af1
fix tests
2020-07-15 18:56:19 +02:00
mpostma
51b7cb2722
remove accept new fields / add indexed *
2020-07-15 18:56:19 +02:00
mpostma
51d7c84e73
better exit on error
...
Update meilisearch-core/src/database.rs
Co-authored-by: Clément Renault <renault.cle@gmail.com>
Update meilisearch-core/src/database.rs
Co-authored-by: Clément Renault <renault.cle@gmail.com>
2020-07-13 16:06:28 +02:00
mpostma
f5a936614a
error on meili database version mismatch
2020-07-13 16:05:08 +02:00
bors[bot]
308630c094
Merge #841
...
841: Unique docid bugfix r=LegendreM a=MarinPostma
fix #827
Co-authored-by: mpostma <postma.marin@protonmail.com>
2020-07-13 13:36:32 +00:00
mpostma
f54397e0cf
test unique document id bug
2020-07-13 15:14:07 +02:00
mpostma
99e8d4adae
fix missing primary key
2020-07-13 14:54:25 +02:00
mpostma
3bf23a7c59
test placeholder search
...
move search test macro to common module
2020-07-03 17:17:28 +02:00
mpostma
bbe3a10107
implement placeholder search
2020-07-03 17:17:28 +02:00
mpostma
e92f544fd1
add test for update errors
2020-07-02 15:18:30 +02:00
mpostma
d7b49fa671
fix potential infinite loop
2020-07-02 15:18:30 +02:00
mpostma
7d3e937134
add tests for error codes
2020-07-02 15:18:30 +02:00
mpostma
ced6cc0e23
fix bad error report when primary key exists
2020-07-02 15:16:48 +02:00
Rio Kierkels
f60b912f12
feat(analytics): log if analytics are enabled
2020-07-02 14:33:25 +02:00
marin
ab16e2eff1
fix merge error
2020-07-02 14:04:15 +02:00
marin
3da607749f
Merge branch 'master' into patch-1
2020-07-02 13:57:52 +02:00
Balaji Sivaraman
3d73a4895e
cleanup movies dataset and related functions
2020-07-02 16:52:39 +05:30
Balaji Sivaraman
979b01a1c0
update index status test to use the test dataset
2020-07-02 16:52:39 +05:30
Balaji Sivaraman
38cf489acf
update remaining search tests to use the test dataset
2020-07-02 16:52:39 +05:30
Balaji Sivaraman
60264763f4
update search_settings tests to use the test dataset
2020-07-02 16:52:39 +05:30
Balaji Sivaraman
d55124e524
update settings_ranking_rules tests to use the test dataset
2020-07-02 16:52:39 +05:30
Balaji Sivaraman
643933c3b0
update settings tests to use the test dataset
2020-07-02 16:52:39 +05:30
Balaji Sivaraman
44fd9384bd
update stop_words tests to use the test dataset
2020-07-02 16:52:39 +05:30
Balaji Sivaraman
75d0d2df6c
update documents_delete tests to use the test dataset
2020-07-02 16:52:39 +05:30
Rio Kierkels
9b46887f75
chore(http): do not require auth on /health endpoint
...
This makes it easier to determine the health of the server using http.
closes #822
2020-07-01 16:33:01 +02:00
André Eriksson
029772e11f
Fix typo in option.rs
2020-07-01 13:45:00 +02:00
Rio Kierkels
2ef888d100
chore(sentry): make sentry dsn customizable
...
By removing the hardcoded value the sentry client will fall back to pulling
it from the SENTRY_DSN environment variable. The hardcoded value has been
moved to the default value of the commandline options so the default
behavior will be the same.
A `--no-sentry` and `MEILI_NO_SENTRY` option has also been introduced
that effectively disables sentry reporting.
2020-07-01 12:55:14 +02:00
mpostma
69af8e9e3d
bump meilisearch to 0.12.0
2020-06-30 20:42:19 +02:00
mpostma
0bceaa5669
add test for long document indexing
2020-06-30 17:46:23 +02:00
mpostma
4f6a6b1359
make clippy happy 2
2020-06-30 11:01:07 +02:00
mpostma
641d12fb2d
make clippy happy 1
2020-06-30 11:01:07 +02:00
mpostma
b1272d05b4
Test get distinct attribute
2020-06-27 10:38:08 +02:00
mpostma
feb12a581e
fix distinct attribute returning id instead of name
2020-06-27 10:30:27 +02:00
mpostma
8ea6ef1e90
bump meilisearch version
2020-06-25 14:28:50 +02:00
mpostma
c7701ebd19
partial sysinfo fix
2020-06-23 14:37:29 +02:00
mpostma
3d771f2289
test distinct attribute
2020-06-22 12:16:35 +02:00
mpostma
8035ca7138
fix distinct attribute behavior
2020-06-22 12:16:35 +02:00
mpostma
60a90e96f3
add test for ranking rules settings
2020-06-22 12:16:35 +02:00
mpostma
179942b07a
test facet document fix
2020-06-22 11:40:08 +02:00
mpostma
3143ffe208
remove unused dependencies
2020-06-19 13:59:40 +02:00
mpostma
e5079004e1
adds SearchQueryPost
2020-06-15 16:28:08 +02:00
mpostma
2d31371975
fix style
2020-06-15 16:28:08 +02:00
mpostma
26d29783ce
add tests for post search route
2020-06-15 16:28:08 +02:00
mpostma
0ebf7b6214
fix CORS config error in actix
2020-06-15 16:28:08 +02:00
mpostma
6add10b18f
add search post route
2020-06-15 16:28:08 +02:00
mpostma
940105efb3
change cors max age
2020-06-15 16:28:08 +02:00
mpostma
3e13e728aa
add post method
2020-06-15 16:28:08 +02:00
mpostma
8cd224899c
move search logic out of search route
2020-06-15 16:28:08 +02:00
Kerollmops
8aeeea8382
Bump the Meilisearch crates version to 0.11.0
2020-06-15 10:54:16 +02:00
mpostma
ff2490ca8b
fix tests
2020-06-10 12:30:33 +02:00
mpostma
2ada9c5d72
add error on search with empty facets
2020-06-10 12:30:33 +02:00
mpostma
6fee7e638c
fix typo in error message
2020-06-06 09:05:28 +02:00
mpostma
d007bf13f1
change missing headers & auth status code
2020-06-05 15:44:38 +02:00
mpostma
56b01ba440
test error delete unexisting index
2020-06-05 11:40:18 +02:00
mpostma
11e00c906f
error when deleting unexisting index
2020-06-05 11:33:59 +02:00
mpostma
cf6c6eb117
test invalid query params
2020-06-04 14:48:37 +02:00
mpostma
6df56c4ec5
add error handler for query params error
2020-06-04 14:48:37 +02:00
Kerollmops
263583c118
Remove http-service/-mock from the dependencies
2020-06-04 14:04:18 +02:00
Daniel (dmilith) Dettlaff
73c60d7768
new: Updated sysinfo depdendency of meilisearch-http/Cargo.toml. This fixes #740
2020-06-04 13:08:12 +02:00
mpostma
3fe3c8cf02
test attributes_for_faceting subroutes
2020-06-03 11:31:58 +02:00
mpostma
ed051b65ad
default attributes_for_faceting to []
2020-06-03 11:31:32 +02:00
mpostma
8f0d9ccd87
add subroutes for attributes_for_faceting
2020-06-03 11:31:32 +02:00
qdequele
e51ea55ae3
add more analytics
2020-06-02 15:40:31 +02:00
Clementine Urquizar
f6c531a5a8
Change http into https in welcoming message links
2020-06-02 14:20:08 +02:00
mpostma
e95cec7ea6
add test for error_code
2020-06-01 11:06:57 +02:00
mpostma
db45826232
take existing_index out of create_index error
2020-05-30 12:10:35 +02:00
Kerollmops
1370b19402
Allow users to input an API Key to search into private data
2020-05-29 12:22:23 +02:00
mpostma
8a2e60dc09
requested changes
2020-05-28 19:19:26 +02:00
mpostma
05344043b2
style fixes
2020-05-28 16:28:37 +02:00
mpostma
d9e2e1a177
ErrorCode improvements
2020-05-28 16:23:46 +02:00
mpostma
4254cfbce5
reponse error payload
2020-05-28 16:23:46 +02:00
mpostma
3bd15a4195
fix tests, restore behavior
2020-05-28 16:23:46 +02:00
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
Samuel Jimenez
8438ac9756
Rename fields_frequency into fields_distribution
2020-05-26 20:40:49 +02:00
Kerollmops
8cebf78485
Bump heed to 0.8.0 and handle abort errors
2020-05-26 17:04:13 +02:00
mpostma
fac35e34e9
fix numm facets in response
2020-05-26 16:30:27 +02:00
qdequele
a5ab4b3f64
update tests
2020-05-26 14:16:25 +02:00
qdequele
7e6f068b18
add ssl support
...
format code
remove expects and unwrap
2020-05-26 14:16:25 +02:00