meilisearch/milli
bors[bot] d7943fe225
Merge #402
402: Optimize document transform r=MarinPostma a=MarinPostma

This pr optimizes the transform of documents additions in the obkv format. Instead on accepting any serializable objects, we instead treat json and CSV specifically:
- For json, we build a serde `Visitor`, that transform the json straight into obkv without intermediate representation.
- For csv, we directly write the lines in the obkv, applying other optimization as well.

Co-authored-by: marin postma <postma.marin@protonmail.com>
2021-10-26 09:55:28 +00:00
..
src Merge #402 2021-10-26 09:55:28 +00:00
tests fix tests 2021-10-25 10:26:42 +02:00
Cargo.toml Merge #402 2021-10-26 09:55:28 +00:00