mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-26 00:01:00 +00:00
doc: add a new +19k movies example dataset
This commit is contained in:
@ -63,12 +63,11 @@ MeiliDB runs with an index like most search engines.
|
||||
So to test the library you can create one by indexing a simple csv file.
|
||||
|
||||
```bash
|
||||
cargo run --release --example create-database -- test.mdb misc/kaggle.csv --schema schema-example.toml
|
||||
cargo run --release --example create-database -- test.mdb examples/movies/movies.csv --schema examples/movies/schema-movies.toml
|
||||
```
|
||||
|
||||
Once the command is executed, the index should be in the `test.mdb` folder. You are now able to run the `query-database` example and play with MeiliDB.
|
||||
|
||||
```bash
|
||||
cargo run --release --example query-database -- test.mdb -n 10 id title
|
||||
```
|
||||
|
||||
cargo run --release --example query-database -- test.mdb -n 10 id title overview release_date
|
||||
```
|
Reference in New Issue
Block a user