YUKI Piro Hiroshi
null+****@clear*****
Sat Feb 8 17:23:16 JST 2014
YUKI "Piro" Hiroshi 2014-02-08 17:23:16 +0900 (Sat, 08 Feb 2014) New Revision: dc45dcab3e3f323742d9d0c4e837a786a2417e19 https://github.com/droonga/droonga.org/commit/dc45dcab3e3f323742d9d0c4e837a786a2417e19 Message: Synchronize to the English version Modified files: ja/tutorial/plugin-development/adapter/index.md Modified: ja/tutorial/plugin-development/adapter/index.md (+7 -3) =================================================================== --- ja/tutorial/plugin-development/adapter/index.md 2014-02-08 17:21:55 +0900 (be7828d) +++ ja/tutorial/plugin-development/adapter/index.md 2014-02-08 17:23:16 +0900 (0c288ef) @@ -89,7 +89,7 @@ This plugin does nothing except registering itself to Droonga. ### Activate the plugin with `catalog.json` You need to update `catalog.json` to activate your plugin. -Add the name of the plugin `"sample-logger"` to the `"plugins"` list under the dataset, like: +Insert the name of the plugin `"sample-logger"` to the `"plugins"` list under the dataset, like: catalog.json: @@ -98,10 +98,12 @@ catalog.json: "datasets": { "Starbucks": { (snip) - "plugins": ["crud", "search", "groonga", "sample-logger"], + "plugins": ["sample-logger", "groonga", "crud", "search"], (snip) ~~~ +Note: you must place `"sample-logger"` before `"search"`, because the `sample-logger` plugin depends on the `search`. Droonga Engine applies plugins on the adaption phase in the order defined in the `catalog.json`, so you must resolve plugin dependencies by your hand (for now). + ### Run Let's Droonga get started. @@ -382,10 +384,12 @@ catalog.json: "datasets": { "Starbucks": { (snip) - "plugins": ["crud", "search", "groonga", "store-search"], + "plugins": ["store-search", "groonga", "crud", "search"], (snip) ~~~ +Remember, you must place your plugin `"store-search"` before the `"search"` because yours depends on it. + Now you can use this new command by the following request: store-search-columbus.json: -------------- next part -------------- HTML����������������������������...Download