[Groonga-commit] droonga/wikipedia-search.wiki at b2b547a [master] Updated catalog.json作成手順 (markdown)

Back to archive index

YUKI Piro Hiroshi null+****@clear*****
Fri Apr 4 14:43:55 JST 2014


YUKI "Piro" Hiroshi	2014-04-04 14:43:55 +0900 (Fri, 04 Apr 2014)

  New Revision: b2b547a99f4b86436481ae54ca3866842f835ecd
  https://github.com/droonga/wikipedia-search/commit/b2b547a99f4b86436481ae54ca3866842f835ecd

  Message:
    Updated catalog.json作成手順 (markdown)

  Modified files:
    catalog.json作成手順.md

  Modified: catalog.json作成手順.md (+52 -0)
===================================================================
--- catalog.json作成手順.md    2014-04-04 14:29:50 +0900 (6871e48)
+++ catalog.json作成手順.md    2014-04-04 14:43:55 +0900 (7b39f82)
@@ -61,4 +61,56 @@
 |[D.E. id:100〜199]|
 +------------------+
 ...
+</pre>
+
+## 実際のcatalog.json
+
+<pre>
+{
+  "version": 2,
+  "effectiveDate": "2013-09-01T00:00:00Z",
+  "datasets": {
+    "<dataset name>": {
+      "nWorkers": 4,
+      "plugins": ["groonga", "crud", "search"],
+      "schema": {...},
+      "replicas": [
+        {
+          "dimension": "_key",
+          "slicer": "hash",
+          "slices": [
+            {
+              "replicas": [
+                {
+                  "volume": {
+                    "address": "192.168.X.11:24224/starbucks.011"
+                  }
+                },
+                {
+                  "volume": {
+                    "address": "192.168.X.12:24224/starbucks.012"
+                  }
+                }
+              ]
+            },
+            {
+              "replicas": [
+                {
+                  "volume": {
+                    "address": "192.168.X.21:24224/starbucks.021"
+                  }
+                },
+                {
+                  "volume": {
+                    "address": "192.168.X.22:24224/starbucks.022"
+                  }
+                }
+              ]
+            }
+          ]
+        }
+      ]
+    }
+  }
+}
 </pre>
\ No newline at end of file
-------------- next part --------------
HTML����������������������������...
Download 



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