[Groonga-commit] droonga/droonga.org at 365e101 [gh-pages] Add description about another endpoint

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Apr 28 14:58:05 JST 2014


YUKI Hiroshi	2014-04-28 14:58:05 +0900 (Mon, 28 Apr 2014)

  New Revision: 365e101364e662bad22651b9d25d048e1c5bf3d4
  https://github.com/droonga/droonga.org/commit/365e101364e662bad22651b9d25d048e1c5bf3d4

  Message:
    Add description about another endpoint

  Modified files:
    tutorial/groonga/index.md

  Modified: tutorial/groonga/index.md (+6 -1)
===================================================================
--- tutorial/groonga/index.md    2014-04-28 14:55:05 +0900 (ba4dcae)
+++ tutorial/groonga/index.md    2014-04-28 14:58:05 +0900 (ba61d09)
@@ -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:
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index