From 827e5ea5fcf07385447c2306411dc067668f35e0 Mon Sep 17 00:00:00 2001 From: WaaX Date: Tue, 18 Dec 2018 09:34:52 -0500 Subject: [PATCH] Removed the mention of measurements Change `measurements` field to `patients index` Fix import command by removing `-f measurements` --- docs/tutorials.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tutorials.md b/docs/tutorials.md index 47344db4f..4cb8d069c 100644 --- a/docs/tutorials.md +++ b/docs/tutorials.md @@ -455,7 +455,7 @@ curl localhost:10101/index/patients \ {"success":true} ``` -In addition to storing rows of bits, a field can also store integer values. The next steps creates three fields (`age`, `weight`, `tcells`) in the `measurements` field. +In addition to storing rows of bits, a field can also store integer values. The next steps creates three fields (`age`, `weight`, `tcells`) in the `patients` index. ``` request curl localhost:10101/index/patients/field/age \ -X POST \ @@ -529,7 +529,7 @@ Assuming we have a file called `ages.csv` that is structured like this: ``` where the first column of the CSV represents the patient `ID` and the second column represents the patient's `age`, then we can import the data into our `age` field by running this command: ``` -pilosa import -i patients -f measurements --field age ages.csv +pilosa import -i patients --field age ages.csv ``` Now that we have some data in our index, let's run a few queries to demonstrate how to use that data.