From f7561f855244ceb483fb8aaf068c945479c65b42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Thu, 10 Jan 2019 21:12:42 +0100 Subject: [PATCH] doc: Update examples usages --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 334199634..90e5c2da2 100644 --- a/README.md +++ b/README.md @@ -49,14 +49,12 @@ 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 +cargo run --release --example create-database -- test.mdb misc/kaggle.csv --schema schema-example.toml --stop-words misc/fr.stopwords.txt ``` -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. ```bash -cargo run --release --example query-database -- test.mdb +cargo run --release --example query-database -- test.mdb -n 10 id title ```