Commit Graph

170 Commits

Author SHA1 Message Date
493a0e377d optimize build size 2021-10-07 11:49:52 +02:00
5fad37aebd Merge #1711
1711: MeiliSearch refactor introducing OBKV format r=MarinPostma a=MarinPostma

This PR refactor some multiple components of meilisearch, and introduce the obkv document format to meilisearch

- [x] Split meilisearch-http and meilisearch-lib
- [x] Replace `IndexActor` and `UuidResolver` with `IndexResolver`
- [x] Remove mentions to Actor
- [x] Remove Actor traits to simplify code
- [x] Integrate obkv document format
- [x] Remove `Data`
- [x] Restore all route
- [x] Replace `Box<dyn error>` with `anyhow::Error`
- [x] Introduce update file store
- [x] Update file store error handling
- [x] Fix dumps
- [x] Fix snapshots
- [x] Fix tests
- [x] Update module documentation
- [x] add csv suppport (feat `@ManyTheFish` #1729 )
- [x] add jsonl support
- [x] integrate geosearch (feat `@irevoire` #1725) 

partially implements #1691 and #1690. The error handling is very basic now, I will finish it in the next pr.

Some unit tests have been disabled, I will re-enable them ASAP, but they need a bit more work.

close #1531 


P.S: sorry for this monstrous PR :'(

Co-authored-by: mpostma <postma.marin@protonmail.com>
Co-authored-by: Tamo <tamo@meilisearch.com>
Co-authored-by: many <maxime@meilisearch.com>
2021-09-29 14:38:55 +00:00
aa6c5df0bc Implement documents format
document reader transform

remove update format

support document sequences

fix document transform

clean transform

improve error handling

add documents! macro

fix transform bug

fix tests

remove csv dependency

Add comments on the transform process

replace search cli

fmt

review edits

fix http ui

fix clippy warnings

Revert "fix clippy warnings"

This reverts commit a1ce3cd96e603633dbf43e9e0b12b2453c9c5620.

fix review comments

remove smallvec in transform loop

review edits
2021-09-21 16:58:33 +02:00
60518449fc split meilisearch-http and meilisearch-lib 2021-09-21 13:23:22 +02:00
770b6d25ae deps: unify pest dependency 2021-09-15 12:15:44 +09:00
41bdc90f46 Revert "Enable optimization in every profile" 2021-06-16 14:17:02 +02:00
86b916b008 enable optimization in every profile 2021-06-09 10:26:57 +02:00
e0c327bae2 Update Cargo.toml
Co-authored-by: Clément Renault <clement@meilisearch.com>
2021-06-08 11:39:10 +02:00
c82a382b0b compile every build.rs with optimization 2021-06-08 11:19:22 +02:00
06c414a753 move the benchmarks to another crate so we can download the datasets automatically without adding overhead to the build of milli 2021-06-02 11:11:50 +02:00
9423310816 Introduce an helpers crate that export the database to stdout 2021-03-01 19:55:04 +01:00
a9a9ed6318 create workspace with meilisearch-error 2021-03-01 14:41:55 +01:00
79708aeb67 add milli as git dep 2021-03-01 14:41:20 +01:00
5ba58c1e9c add Marin to authors 2021-02-28 10:09:56 +01:00
91d6e90d5d enable faceted searches 2021-02-16 19:20:39 +01:00
fecf3d6fc1 Move the command lines helpers into different crates 2021-02-14 18:55:15 +01:00
e8639517da Change the project to become a workspace with milli as a default-member 2021-02-12 16:15:09 +01:00
f8f02af23e incorporate review changes 2021-02-04 13:21:15 +01:00
9af0a08122 post review fixes 2021-02-02 17:34:06 +01:00
17c463ca61 remove unused deps 2021-02-01 13:32:21 +01:00
6c63ee6798 implement list all indexes 2021-01-28 18:32:24 +01:00
74410d8c6b architecture rework 2021-01-28 14:12:34 +01:00
433ac8c38a Remove the ordered-float serde feature 2021-01-27 14:11:10 +01:00
61dbcfa44a Bump the roaring to 0.6.4 2021-01-26 14:38:43 +01:00
51a37de885 Introduce the FacetValue enum type 2021-01-26 14:09:09 +01:00
6a3f625e11 WIP: refactor IndexController
change the architecture of the index controller to allow it to own an
index store.
2021-01-16 15:09:48 +01:00
686f987180 fix compile errors 2021-01-14 11:27:07 +01:00
ddd7789713 WIP: IndexController 2021-01-13 17:50:36 +01:00
1ae761311e integrate with meilisearch tokenizer 2021-01-07 16:14:27 +01:00
0cd9e62fc6 search first iteration 2020-12-24 12:58:34 +01:00
02ef1d41d7 route document add json 2020-12-23 16:12:37 +01:00
1a38bfd31f data add documents 2020-12-23 13:52:28 +01:00
55e1552957 update queue refactor, first iteration 2020-12-22 17:13:50 +01:00
7c9eaaeadb clean code, and fix errors 2020-12-22 14:02:41 +01:00
77e951e933 Use the byte-unit crate to ease library usage 2020-12-20 12:00:37 +01:00
8c0ab106c7 initial commit 2020-12-12 13:32:06 +01:00
e7f2ab9138 Bump grenad to fix an indexing bug 2020-12-05 16:39:15 +01:00
0959e1501f Introduce the FacetRevRange Iterator struct 2020-12-04 12:02:23 +01:00
61b383f422 Introduce the criteria update setting 2020-12-04 12:02:22 +01:00
a0adfb5e8e Introduce a real pest parser and support every facet filter conditions 2020-11-23 16:43:55 +01:00
07a0c82790 Bump heed to 0.10.4 to use be able to lazily decode roaring bitmaps 2020-11-23 16:43:53 +01:00
38c76754ef Make the facet level search system generic on f64 and i64 2020-11-23 16:43:52 +01:00
b255be93fa Bump heed to 0.10.3 2020-11-23 16:43:49 +01:00
a18d9a1f87 Parse and store the faceted fields 2020-11-13 16:13:51 +01:00
640c7d748a Modify the highlight function to support any JSON type 2020-11-05 13:59:32 +01:00
0408c9d66a Move the http server into its own sub-module 2020-11-05 11:16:39 +01:00
4fded5bd0e Bump heed to be able to reference a RoTxn from multiple threads 2020-11-02 12:49:23 +01:00
f0d028d3a4 Update the Transform struct to support JSON updates 2020-10-31 20:52:49 +01:00
9d47ee52b4 Generate a uuid v4 based document id when missing 2020-10-31 15:11:06 +01:00
085d3b9d94 Update heed to 0.10.0 2020-10-30 11:42:00 +01:00