doc: Simplify the examples command lines

This commit is contained in:
Clément Renault 2019-01-12 12:56:11 +01:00
parent 5939f6e68a
commit d5f44838be
No known key found for this signature in database
GPG Key ID: 0151CDAB43460DAE

View File

@ -49,7 +49,7 @@ MeiliDB runs with an index like most search engines.
So to test the library you can create one by indexing a simple csv file. So to test the library you can create one by indexing a simple csv file.
```bash ```bash
cargo run --release --example create-database -- test.mdb misc/kaggle.csv --schema schema-example.toml --stop-words misc/fr.stopwords.txt cargo run --release --example create-database -- test.mdb misc/kaggle.csv --schema schema-example.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. 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.