MeiliSearch/dump/src/reader/v4
bors[bot] 776af129bf
Merge #3012
3012: Extract the dates out of the dumpv4. r=irevoire a=funilrys

Hi there, 

please review this PR that tries to fix #2987. I'm still learning Rust and I found that #2987 is an excellent way for me to read and learn what others do with Rust. So please excuse my semantics ...

Stay safe and healthy.

---

# Pull Request

This patch possibly fixes #2987.

This patch introduces a way to fill the IndexMetadata.created_at and IndexMetadata.updated_at keys from the tasks events. This is done by reading the creation date of the first event (created_at) and the creation date of the last event (updated_at).


## Related issue
Fixes #2987

## What does this PR do?
- Extract the dates out of the dumpv4.

## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!


Co-authored-by: funilrys <contact@funilrys.com>
2022-12-05 15:57:07 +00:00
..
snapshots fix the dump tests 2022-11-23 16:59:20 +01:00
errors.rs Introduce a rustfmt file 2022-10-27 11:35:05 +02:00
keys.rs implement the dump v4 import 2022-10-27 11:33:53 +02:00
meta.rs Introduce a rustfmt file 2022-10-27 11:35:05 +02:00
mod.rs Merge #3012 2022-12-05 15:57:07 +00:00
settings.rs fix clippy 2022-10-27 11:35:08 +02:00
tasks.rs Fix linting issue. 2022-11-14 18:51:34 +01:00