[Groonga-commit] droonga/droonga.org at 1987820 [gh-pages] Update example of catalog.json

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Feb 7 17:09:28 JST 2014


YUKI Hiroshi	2014-02-07 17:09:28 +0900 (Fri, 07 Feb 2014)

  New Revision: 198782052a11c06103bf0a677a79b9d1cd2d7f3f
  https://github.com/droonga/droonga.org/commit/198782052a11c06103bf0a677a79b9d1cd2d7f3f

  Message:
    Update example of catalog.json

  Modified files:
    tutorial/plugin-development/adapter/index.md

  Modified: tutorial/plugin-development/adapter/index.md (+6 -17)
===================================================================
--- tutorial/plugin-development/adapter/index.md    2014-02-07 17:02:39 +0900 (9e05391)
+++ tutorial/plugin-development/adapter/index.md    2014-02-07 17:09:28 +0900 (f51d28a)
@@ -71,30 +71,19 @@ This plugin does nothing except registering itself to Droonga.
 ### Activate plugin with `catalog.json`
 
 You need to update `catalog.json` to activate your plugin.
-Insert following at the last part of `catalog.json` in order to make `"input_adapter"` become a key of the top level hash:
+Add the name of the plugin `"store-search"` to the `"plugins"` list under the dataset, like:
 
 catalog.json:
 
 ~~~
 (snip)
-  },
-  "input_adapter": {
-    "plugins": ["example", "groonga"]
-  },
-  "output_adapter": {
-    "plugins": ["crud", "groonga"]
-  },
-  "collector": {
-    "plugins": ["basic", "search"]
-  },
-  "planner": {
-    "plugins": ["search", "crud", "groonga", "watch"]
-  }
-}
+      "datasets": {
+        "Starbucks": {
+(snip)
+          "plugins": ["search", "groonga", "add", "store-search"],
+(snip)
 ~~~
 
-TODO: the [basic tutorial][] needs to be updated. After tutorial update, explanation above should also be updated.
-
 ### Run
 
 Let's Droonga get started. Note that you need to specify `./lib` directory in `RUBYLIB` environment variable in order to make ruby possible to find your plugin.
-------------- next part --------------
HTML����������������������������...
Download 



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