Navigation Menu

Skip to content

Commit

Permalink
Add description about another endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 28, 2014
1 parent 5a68e65 commit 365e101
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tutorial/groonga/index.md
Expand Up @@ -147,12 +147,17 @@ Note that you have to specify the host, one of Droonga nodes with active droonga
In other words, you can use any favorite node in the cluster as an endpoint.
All requests will be distributed to suitable nodes in the cluster.

OK, now the table has been created.
OK, now the table has been created successfully.
Let's see it by the `table_list` command:

# curl "http://192.168.0.10:3000/d/table_list"
[[0,1398662423.509928,0.003869295120239258],[[["id","UInt32"],["name","ShortText"],["path","ShortText"],["flags","ShortText"],["domain","ShortText"],["range","ShortText"],["default_tokenizer","ShortText"],["normalizer","ShortText"]],[256,"Store","/home/username/groonga/droonga-engine/000/db.0000100","TABLE_HASH_KEY|PERSISTENT","ShortText",null,null,null]]]

Because it is a cluster, another endpoint returns same result.

# curl "http://192.168.0.11:3000/d/table_list"
[[0,1398662423.509928,0.003869295120239258],[[["id","UInt32"],["name","ShortText"],["path","ShortText"],["flags","ShortText"],["domain","ShortText"],["range","ShortText"],["default_tokenizer","ShortText"],["normalizer","ShortText"]],[256,"Store","/home/username/groonga/droonga-engine/000/db.0000100","TABLE_HASH_KEY|PERSISTENT","ShortText",null,null,null]]]

### Create a column

Next, create a new column to the table by the `column_create` command, like:
Expand Down

0 comments on commit 365e101

Please sign in to comment.