Navigation Menu

Skip to content

Commit

Permalink
Fix wrong option names
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 28, 2014
1 parent 4e31d28 commit 020761f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tutorial/groonga/index.md
Expand Up @@ -76,16 +76,16 @@ Assume that you have two computers: `192.168.0.10` and `192.168.0.11`.

5. Create a `catalog.json`, *on one of Droonga nodes*.
The file defines the structure of your Droonga cluster.
You'll specify the name of the dataset via the `--dataset` option and the list of your Droonga node's IP addresses via the `--nodes` option, like:
You'll specify the name of the dataset via the `--dataset` option and the list of your Droonga node's IP addresses via the `--hosts` option, like:

# droonga-catalog-generate --dataset=Starbucks \
--nodes=192.168.0.10,192.168.0.11 \
--hosts=192.168.0.10,192.168.0.11 \
--output=./catalog.json

If you have only one computer and trying to set up it just for testing, then you'll do:

# droonga-catalog-generate --dataset=Starbucks \
--nodes=127.0.0.1 \
--hosts=127.0.0.1 \
--output=./catalog.json

6. Share the generated `catalog.json` *to your all Droonga nodes*.
Expand Down

0 comments on commit 020761f

Please sign in to comment.