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]
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
mpostma
22d439f682
update pest dependency
2020-09-24 18:36:38 +02:00
mpostma
d8d29d3615
Revert "fix facet count bug"
...
This reverts commit 733c02dd7c
.
2020-09-24 16:39:42 +02: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
many
b43137b508
add version guard in copy_and_compact_to_path function
2020-09-07 18:21:04 +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
733c02dd7c
fix facet count bug
2020-09-01 10:12:00 +02:00
mpostma
4a9e56aa4f
bump meilisearch version 0.14.0
2020-08-24 15:49:09 +02:00
mpostma
2a79dc9ded
log error on unwrap error
2020-08-17 16:32:40 +02:00
mpostma
5ed62dbf76
fix unwrap bug
2020-08-14 12:16:48 +02:00
mpostma
75c3cb4bb6
fix compile error
2020-08-12 10:31:11 +02:00
marin
bfd0f806f8
requested changed
...
Co-authored-by: Clément Renault <renault.cle@gmail.com>
2020-08-12 10:31:11 +02:00
mpostma
afab8a7846
clean facet result types
2020-08-12 10:31:11 +02:00
mpostma
afacdbc7a0
update tests for facets distribution case
2020-08-12 10:31:11 +02:00
mpostma
18a50b4dac
fix facet distribution case
2020-08-12 10:31:10 +02:00
Takayuki Maeda
750e7382c6
fix clippy warnings
2020-07-29 11:32:34 +09:00
mpostma
624bd56459
bump meilisearch version
2020-07-22 10:56:19 +02:00
Thomas Payet
c39b358518
Update error.rs
2020-07-20 14:42:47 +02:00
mpostma
d114250ebb
requested changes
2020-07-16 16:19:15 +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
51b7cb2722
remove accept new fields / add indexed *
2020-07-15 18:56:19 +02:00
mpostma
7f5fb50307
add displayed attributes wildcard
2020-07-15 18:56:19 +02:00
mpostma
5773c5c865
check version file against regex
2020-07-13 16:06:28 +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
754efe1f42
fix document id uniqueness bug
2020-07-13 15:14:07 +02:00
mpostma
99e8d4adae
fix missing primary key
2020-07-13 14:54:25 +02:00
mpostma
bbe3a10107
implement placeholder search
2020-07-03 17:17:28 +02:00
mpostma
41707e3245
fix error on missing document id in document
2020-07-02 15:18:30 +02:00
mpostma
3c51e9f5ed
Enable error code reporting for update errors
2020-07-02 15:18:30 +02:00
mpostma
69af8e9e3d
bump meilisearch to 0.12.0
2020-06-30 20:42:19 +02:00
mpostma
e240591128
add test document over 1000 words
2020-06-30 18:49:33 +02:00
mpostma
0bceaa5669
add test for long document indexing
2020-06-30 17:46:23 +02:00
mpostma
3423c0b246
fix indexed document length bug
2020-06-30 17:46:23 +02:00
mpostma
4f6a6b1359
make clippy happy 2
2020-06-30 11:01:07 +02:00
mpostma
21253a2bcb
make setting enums more balanced
2020-06-30 11:01:07 +02:00
mpostma
8e9296c66f
simplify bucket sort signature
2020-06-30 11:01:07 +02:00
mpostma
641d12fb2d
make clippy happy 1
2020-06-30 11:01:07 +02:00
mpostma
8ea6ef1e90
bump meilisearch version
2020-06-25 14:28:50 +02:00
mpostma
8035ca7138
fix distinct attribute behavior
2020-06-22 12:16:35 +02:00
mpostma
6167a10e5e
change ranking rule addition behavior
2020-06-22 12:16:35 +02:00
mpostma
fabb1985ca
recompute all facets during document addition
2020-06-22 11:40:08 +02:00
mpostma
c52d6d0741
fix broken benchmarks
2020-06-19 13:59:40 +02:00
Kerollmops
8aeeea8382
Bump the Meilisearch crates version to 0.11.0
2020-06-15 10:54:16 +02:00
mpostma
2ada9c5d72
add error on search with empty facets
2020-06-10 12:30:33 +02:00
mpostma
ae6a92f89a
error message for missing primary key
2020-06-03 17:38:39 +02:00
mpostma
8a2e60dc09
requested changes
2020-05-28 19:19:26 +02:00
mpostma
2a32ad39a0
move filter parse error display to core
2020-05-28 16:32:17 +02:00
mpostma
fb6a9ea280
remove unecessary errors
2020-05-28 16:28:41 +02:00
mpostma
05344043b2
style fixes
2020-05-28 16:28:37 +02:00
mpostma
51b3139c0b
fix status code
2020-05-28 16:23:46 +02:00
mpostma
9c58ca7ce5
error codes for core
2020-05-28 16:23:46 +02:00
mpostma
30fd24aa47
fix details
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
7c7f753463
add facet count in response
2020-05-28 12:08:38 +02:00
mpostma
2b7d614e84
fix test warnings
2020-05-27 19:32:55 +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
Kerollmops
bc7b0a38fd
Use fst 0.4.4 in the project
2020-05-22 15:01:55 +02:00
Kerollmops
6c87723b19
Bump the fst crate to 0.4.4
2020-05-22 15:01:35 +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
7bbb101555
Prefix the attributes_for_faceting key name
2020-05-20 14:19:00 +02:00
Kerollmops
788e2202c9
Reduce the DocumentId size from 64 to 32bits
2020-05-20 14:19:00 +02:00
Kerollmops
3bca31856d
Discover and remove documents ids
2020-05-20 14:18:59 +02:00
Kerollmops
5bf15a4190
Compute and merge discovered ids
2020-05-20 14:18:59 +02:00
Kerollmops
016bfa391b
Introduce internal and user ids put and get methods
2020-05-20 14:18:59 +02:00
Kerollmops
e6a7521610
Introduce the DiscoverIds and DocumentsIds types
2020-05-20 14:18:59 +02:00
Kerollmops
e2b115f3a9
Improve Number extraction/conversion function
2020-05-19 16:51:33 +02:00
Kerollmops
ae30ee2ade
Clean up some comments and variable names
2020-05-19 16:51:33 +02:00
Kerollmops
3026840530
Introduce an index_document helper function
2020-05-19 16:51:33 +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
Kerollmops
2558ce9a00
Export the value_to_string helper function
2020-05-19 16:51:33 +02:00
Kerollmops
65ed2dcc1b
Remove the serde ConvertToNumber
2020-05-19 16:51:32 +02:00
Kerollmops
5e063da14f
Remove the serde Indexer
2020-05-19 16:51:32 +02:00
Kerollmops
615825b9fd
Remove the serde Serializer
2020-05-19 16:51:32 +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
Kerollmops
48e94b4372
Enable jemalloc only on linux
2020-05-11 21:24:35 +02:00
mpostma
d7f099d3ba
enables faceted search
2020-05-11 17:38:52 +02:00
mpostma
e07fe017c1
document update
2020-05-11 17:38:52 +02:00
mpostma
270c7b0288
facet settings
2020-05-11 16:12:13 +02:00
mpostma
59c67f6bc8
setting up facets
2020-05-11 16:12:13 +02:00
qdequele
2e55457ecc
implement default on DatabaseOptions
2020-05-07 15:40:44 +02:00
mpostma
2e3a765dac
fix database options
2020-04-29 22:29:09 +02:00
Jan Emmens
dff36eaef4
Fix example not compiling
2020-04-29 11:04:09 +02:00