YUKI Hiroshi
null+****@clear*****
Tue Jul 29 14:14:01 JST 2014
YUKI Hiroshi 2014-07-29 14:14:01 +0900 (Tue, 29 Jul 2014) New Revision: ad8b3f1dd8d81f9cb561ba4d47143a626eaaa557 https://github.com/droonga/droonga.org/commit/ad8b3f1dd8d81f9cb561ba4d47143a626eaaa557 Message: Empty database via HTTP API Modified files: _po/ja/tutorial/1.0.5/dump-restore/index.po ja/tutorial/1.0.5/dump-restore/index.md tutorial/1.0.5/dump-restore/index.md Modified: _po/ja/tutorial/1.0.5/dump-restore/index.po (+12 -21) =================================================================== --- _po/ja/tutorial/1.0.5/dump-restore/index.po 2014-07-29 13:51:22 +0900 (a79c897) +++ _po/ja/tutorial/1.0.5/dump-restore/index.po 2014-07-29 14:14:01 +0900 (eb2545c) @@ -241,27 +241,13 @@ msgid "" msgstr "もし順番にこのチュートリアルを読み進めているのであれば、クラスタとダンプファイルが既に手元にあるはずです。以下の操作でクラスタを空にしましょう:" msgid "" -" (on 192.168.0.10)\n" -" # host=192.168.0.10\n" -" # export DROONGA_BASE_DIR=$HOME/droonga\n" -" # kill $(cat $DROONGA_BASE_DIR/droonga-engine.pid)\n" -" # rm -r $DROONGA_BASE_DIR/000\n" -" # droonga-engine --host=$host \\\n" -" --log-file=$DROONGA_BASE_DIR/droonga-engine.log \\\n" -" --daemon \\\n" -" --pid-file=$DROONGA_BASE_DIR/droonga-engine.pid" -msgstr "" - -msgid "" -" (on 192.168.0.11)\n" -" # host=192.168.0.11\n" -" # export DROONGA_BASE_DIR=$HOME/droonga\n" -" # kill $(cat $DROONGA_BASE_DIR/droonga-engine.pid)\n" -" # rm -r $DROONGA_BASE_DIR/000\n" -" # droonga-engine --host=$host \\\n" -" --log-file=$DROONGA_BASE_DIR/droonga-engine.log \\\n" -" --daemon \\\n" -" --pid-file=$DROONGA_BASE_DIR/droonga-engine.pid" +" # endpoint=\"http://192.168.0.10:10041\"\n" +" # curl \"${endpoint}/d/table_remove?name=Location\"\n" +" [[0,1406610703.2229023,0.0010793209075927734],true]\n" +" # curl \"${endpoint}/d/table_remove?name=Store\"\n" +" [[0,1406610708.2757723,0.006396293640136719],true]\n" +" # curl \"${endpoint}/d/table_remove?name=Term\"\n" +" [[0,1406610712.379644,0.00006723403930664062],true]" msgstr "" msgid "After that the cluster becomes empty. Confirm it:" @@ -269,6 +255,11 @@ msgstr "これでクラスタは空になりました。確かめてみましょ msgid "" " # endpoint=\"http://192.168.0.10:10041\"\n" +" # curl \"${endpoint}/d/table_list\"\n" +" [[0,1406610804.1535122,0.0002875328063964844],[[[\"id\",\"UInt32\"],[\"name\",\"S" +"hortText\"],[\"path\",\"ShortText\"],[\"flags\",\"ShortText\"],[\"domain\",\"ShortText\"],[" +"\"range\",\"ShortText\"],[\"default_tokenizer\",\"ShortText\"],[\"normalizer\",\"ShortTex" +"t\"]]]]\n" " # curl \"${endpoint}/d/select?table=Store&output_columns=name&limit=10\"\n" " [[0,1401363465.610241,0],[[[null],[]]]]" msgstr "" Modified: ja/tutorial/1.0.5/dump-restore/index.md (+9 -19) =================================================================== --- ja/tutorial/1.0.5/dump-restore/index.md 2014-07-29 13:51:22 +0900 (b071b2d) +++ ja/tutorial/1.0.5/dump-restore/index.md 2014-07-29 14:14:01 +0900 (c058c7a) @@ -147,29 +147,19 @@ Droongaクラスタにそれらのメッセージを送信するには、`droong もし順番にこのチュートリアルを読み進めているのであれば、クラスタとダンプファイルが既に手元にあるはずです。以下の操作でクラスタを空にしましょう: - (on 192.168.0.10) - # host=192.168.0.10 - # export DROONGA_BASE_DIR=$HOME/droonga - # kill $(cat $DROONGA_BASE_DIR/droonga-engine.pid) - # rm -r $DROONGA_BASE_DIR/000 - # droonga-engine --host=$host \ - --log-file=$DROONGA_BASE_DIR/droonga-engine.log \ - --daemon \ - --pid-file=$DROONGA_BASE_DIR/droonga-engine.pid - - (on 192.168.0.11) - # host=192.168.0.11 - # export DROONGA_BASE_DIR=$HOME/droonga - # kill $(cat $DROONGA_BASE_DIR/droonga-engine.pid) - # rm -r $DROONGA_BASE_DIR/000 - # droonga-engine --host=$host \ - --log-file=$DROONGA_BASE_DIR/droonga-engine.log \ - --daemon \ - --pid-file=$DROONGA_BASE_DIR/droonga-engine.pid + # endpoint="http://192.168.0.10:10041" + # curl "${endpoint}/d/table_remove?name=Location" + [[0,1406610703.2229023,0.0010793209075927734],true] + # curl "${endpoint}/d/table_remove?name=Store" + [[0,1406610708.2757723,0.006396293640136719],true] + # curl "${endpoint}/d/table_remove?name=Term" + [[0,1406610712.379644,0.00006723403930664062],true] これでクラスタは空になりました。確かめてみましょう: # endpoint="http://192.168.0.10:10041" + # curl "${endpoint}/d/table_list" + [[0,1406610804.1535122,0.0002875328063964844],[[["id","UInt32"],["name","ShortText"],["path","ShortText"],["flags","ShortText"],["domain","ShortText"],["range","ShortText"],["default_tokenizer","ShortText"],["normalizer","ShortText"]]]] # curl "${endpoint}/d/select?table=Store&output_columns=name&limit=10" [[0,1401363465.610241,0],[[[null],[]]]] Modified: tutorial/1.0.5/dump-restore/index.md (+9 -19) =================================================================== --- tutorial/1.0.5/dump-restore/index.md 2014-07-29 13:51:22 +0900 (c0932cb) +++ tutorial/1.0.5/dump-restore/index.md 2014-07-29 14:14:01 +0900 (467b105) @@ -140,29 +140,19 @@ Assume that there is an empty Droonga cluster constructed from two nodes `192.16 If you are reading this tutorial sequentially, you'll have an existing cluster and the dump file. Make it empty with these commands: - (on 192.168.0.10) - # host=192.168.0.10 - # export DROONGA_BASE_DIR=$HOME/droonga - # kill $(cat $DROONGA_BASE_DIR/droonga-engine.pid) - # rm -r $DROONGA_BASE_DIR/000 - # droonga-engine --host=$host \ - --log-file=$DROONGA_BASE_DIR/droonga-engine.log \ - --daemon \ - --pid-file=$DROONGA_BASE_DIR/droonga-engine.pid - - (on 192.168.0.11) - # host=192.168.0.11 - # export DROONGA_BASE_DIR=$HOME/droonga - # kill $(cat $DROONGA_BASE_DIR/droonga-engine.pid) - # rm -r $DROONGA_BASE_DIR/000 - # droonga-engine --host=$host \ - --log-file=$DROONGA_BASE_DIR/droonga-engine.log \ - --daemon \ - --pid-file=$DROONGA_BASE_DIR/droonga-engine.pid + # endpoint="http://192.168.0.10:10041" + # curl "${endpoint}/d/table_remove?name=Location" + [[0,1406610703.2229023,0.0010793209075927734],true] + # curl "${endpoint}/d/table_remove?name=Store" + [[0,1406610708.2757723,0.006396293640136719],true] + # curl "${endpoint}/d/table_remove?name=Term" + [[0,1406610712.379644,0.00006723403930664062],true] After that the cluster becomes empty. Confirm it: # endpoint="http://192.168.0.10:10041" + # curl "${endpoint}/d/table_list" + [[0,1406610804.1535122,0.0002875328063964844],[[["id","UInt32"],["name","ShortText"],["path","ShortText"],["flags","ShortText"],["domain","ShortText"],["range","ShortText"],["default_tokenizer","ShortText"],["normalizer","ShortText"]]]] # curl "${endpoint}/d/select?table=Store&output_columns=name&limit=10" [[0,1401363465.610241,0],[[[null],[]]]] -------------- next part -------------- HTML����������������������������... 下载