Commit Graph

8195 Commits

Author SHA1 Message Date
68f4af7d2e Improve the display of the number of processed documents 2020-09-29 16:08:58 +02:00
59a127d022 Improve the indexing process
We now store the words pairs proximity in a cache and only compute the
shortest proximity between pairs of words in a document.
2020-09-29 15:09:18 +02:00
f313de98c8 Merge #980
980: bump meilisearch to v0.15.0 r=Kerollmops a=MarinPostma



Co-authored-by: mpostma <postma.marin@protonmail.com>
v0.15.0rc0
2020-09-28 15:09:26 +00:00
03d4651077 bump meilisearch 2020-09-28 16:56:05 +02:00
6ddb3e722c Depth-first search cache the docids unions 2020-09-28 16:55:21 +02:00
a3821a0b33 Introduce the depth_first_search path resolution function 2020-09-28 16:34:12 +02:00
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
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
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
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
51fd849852 cargo fmt 2020-09-28 14:23:32 +02:00
ab170ce4fd add test 2020-09-28 14:19:45 +02:00
90226dc8a9 Considere an empty query search as a placeholder search #916 2020-09-28 14:19:45 +02:00
51c237f9d8 Fix the benchmarks compilation 2020-09-28 13:39:17 +02:00
d8354f6f02 Fix the word_docids capacity limit detection 2020-09-27 11:52:05 +02:00
63868b2600 Merge #977
977: update pest dependency r=Kerollmops a=MarinPostma

update pest dependency to official repo

Co-authored-by: mpostma <postma.marin@protonmail.com>
2020-09-25 19:35:25 +00:00
22d439f682 update pest dependency 2020-09-24 18:36:38 +02:00
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
030bcd8b05 Revert "facet count more tests"
This reverts commit 954f572e79.
2020-09-24 16:40:18 +02:00
d8d29d3615 Revert "fix facet count bug"
This reverts commit 733c02dd7c.
2020-09-24 16:39:42 +02:00
25b2853b70 Move the words pairs proximities compute into the write document function 2020-09-23 15:02:40 +02:00
ed05999f63 Replace the arc cache by a simple linked hash map 2020-09-23 14:50:52 +02:00
4d22d80281 Display only the key on heed error 2020-09-23 14:13:51 +02:00
5178b3d59d Make the search system be aware of query words typos 2020-09-23 12:01:39 +02:00
b597a92487 Add a default max-memory value to the indexer 2020-09-23 12:00:36 +02:00
1f6e00878d Use the words pair proximities in the search algorithm 2020-09-22 18:47:55 +02:00
efe5984d54 Merge #963
963: upgrade actix-web to v3 r=Kerollmops a=robjtede

Test failures are the same before and after upgrade.

Co-authored-by: Rob Ede <robjtede@icloud.com>
2020-09-22 15:30:21 +00:00
63260e6443 add tests for documents 2020-09-22 16:05:40 +02:00
31224a8425 Index the word pair proximities for both orders of the pair 2020-09-22 14:49:22 +02:00
a58ae5eb2a Introduce the word-pair-proximities-docids infos subcommand 2020-09-22 14:04:34 +02:00
d6fa9c0414 Index the intra documents word pair proximities 2020-09-22 14:04:33 +02:00
7b67ae6972 Introduce the StrStrU8 heed codec 2020-09-22 12:44:17 +02:00
e34437b2d7 Move the proximity function to a module 2020-09-22 10:54:59 +02:00
a794970b72 additional tests for index 2020-09-22 10:51:34 +02:00
15208c7d3d Simplify the indexer record loop 2020-09-22 10:33:30 +02:00
e5adfaade0 Replace the token filter by a filter mapper 2020-09-22 10:24:31 +02:00
ba0f44e361 upgrade actix-web to v3 2020-09-21 22:37:54 +01:00
d21c80b865 Apply the chunk compression parameters on all the MTBL writers 2020-09-21 18:30:54 +02:00
944df52e2a Simplify the indexer main loop 2020-09-21 14:59:48 +02:00
4acaecd921 Merge #749
749: Contributor guidelines r=Kerollmops a=erlend-sh

Preliminary contributor guidelines, heavily based on the [Vector doc](https://github.com/timberio/vector/blob/master/CONTRIBUTING.md).

Co-authored-by: Erlend Sogge Heggen <e.soghe@gmail.com>
2020-09-21 09:51:56 +00:00
84a3e95fa4 Merge branch 'stable' 2020-09-11 12:08:20 +02:00
3ded98e5fa Bump the roaring version that fix a deserialization bug 2020-09-10 22:37:51 +02:00
d5e5baa20f Bump the oxidized-mtbl dependency 2020-09-10 13:29:12 +02:00
f045e111ea Merge #960
960: bump version and update changelog r=MarinPostma a=LegendreM

* bump to 0.14.1
* update CHANGELOG.md file

Co-authored-by: many <maxime@meilisearch.com>
v0.14.1 0.14.1
2020-09-08 16:11:53 +00:00
87a76c2a60 bump version and update changelog 2020-09-08 18:11:03 +02:00
0fb086f241 Use the crates.io raoring library 2020-09-08 15:16:04 +02:00
aed0704404 Remove the temporary optimisation 2020-09-08 14:48:33 +02:00
4edaebab90 Merge #959
959: add version guard in copy_and_compact_to_path function r=MarinPostma a=LegendreM

fix #958

need to create 0.14.1

Co-authored-by: many <maxime@meilisearch.com>
2020-09-08 08:35:49 +00:00
072382fa61 Sort the word docids to make intersections much faster 2020-09-07 22:38:49 +02:00
ad11c5fb3f Introduce the words-docids command for the infos binary 2020-09-07 22:36:35 +02:00