Removed the mention of measurements

Change `measurements` field to `patients index`
Fix import command by removing `-f measurements`
This commit is contained in:
WaaX 2018-12-18 09:34:52 -05:00 committed by GitHub
parent 047b5874ee
commit 827e5ea5fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.