Permalink
Browse files

doc: update examples

  • Loading branch information...
1 parent e341e46 commit 1957c6a8d8ed6ddc47af901ab81a76a0773d44fe @kenhys kenhys committed Dec 28, 2012
@@ -8,14 +8,14 @@ Execution example::
# 0.000355720520019531
# ],
# {
- # "uptime": 23,
+ # "uptime": 6,
# "max_command_version": 2,
# "n_queries": 30,
# "cache_hit_rate": 0.0,
- # "version": "2.0.5",
- # "alloc_count": 278,
+ # "version": "2.1.0",
+ # "alloc_count": 280,
# "command_version": 1,
- # "starttime": 1343713421,
+ # "starttime": 1356678580,
# "default_command_version": 1
# }
# ]
@@ -1,4 +1,4 @@
Execution example::
- table_create Lexicon TABLE_PAT_KEY ShortText
+ table_create Lexicon TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
# [[0, 1337566253.89858, 0.000355720520019531], true]
@@ -32,63 +32,55 @@ Execution example::
# [
# "range",
# "ShortText"
+ # ],
+ # [
+ # "default_tokenizer",
+ # "ShortText"
+ # ],
+ # [
+ # "normalizer",
+ # "ShortText"
# ]
# ],
# [
# 259,
- # "bigram",
- # "/tmp/groonga-databases/suggest.0000103",
- # "TABLE_PAT_KEY|KEY_NORMALIZE|PERSISTENT",
- # "ShortText",
- # "null"
+ # "Ages",
+ # "/tmp/groonga-databases/commands_table_create.0000103",
+ # "TABLE_DAT_KEY|PERSISTENT",
+ # "UInt32",
+ # null,
+ # null,
+ # null
# ],
# [
- # 278,
- # "event_query",
- # "/tmp/groonga-databases/suggest.0000116",
- # "TABLE_NO_KEY|PERSISTENT",
- # "null",
- # "null"
- # ],
- # [
- # 258,
- # "event_type",
- # "/tmp/groonga-databases/suggest.0000102",
- # "TABLE_HASH_KEY|PERSISTENT",
- # "ShortText",
- # "null"
- # ],
- # [
- # 261,
- # "item_query",
- # "/tmp/groonga-databases/suggest.0000105",
- # "TABLE_PAT_KEY|KEY_NORMALIZE|PERSISTENT",
- # "ShortText",
- # "null"
- # ],
- # [
- # 260,
- # "kana",
- # "/tmp/groonga-databases/suggest.0000104",
- # "TABLE_PAT_KEY|KEY_NORMALIZE|PERSISTENT",
+ # 257,
+ # "Lexicon",
+ # "/tmp/groonga-databases/commands_table_create.0000101",
+ # "TABLE_PAT_KEY|PERSISTENT",
# "ShortText",
- # "null"
+ # null,
+ # "TokenBigram",
+ # "NormalizerAuto"
# ],
# [
- # 270,
- # "pair_query",
- # "/tmp/groonga-databases/suggest.000010E",
- # "TABLE_HASH_KEY|PERSISTENT",
- # "UInt64",
- # "null"
+ # 256,
+ # "Logs",
+ # "/tmp/groonga-databases/commands_table_create.0000100",
+ # "TABLE_NO_KEY|PERSISTENT",
+ # null,
+ # null,
+ # null,
+ # null
# ],
# [
- # 277,
- # "sequence_query",
- # "/tmp/groonga-databases/suggest.0000115",
+ # 258,
+ # "Tags",
+ # "/tmp/groonga-databases/commands_table_create.0000102",
# "TABLE_HASH_KEY|PERSISTENT",
# "ShortText",
- # "null"
+ # null,
+ # null,
+ # null
# ]
# ]
# ]
@@ -8,14 +8,14 @@ Execution example::
0.000355720520019531
],
{
- "uptime": 1,
+ "uptime": 0,
"max_command_version": 2,
"n_queries": 0,
"cache_hit_rate": 0.0,
- "version": "2.0.5",
- "alloc_count": 142,
+ "version": "2.1.0",
+ "alloc_count": 152,
"command_version": 1,
- "starttime": 1343713471,
+ "starttime": 1356678595,
"default_command_version": 1
}
]
@@ -13,10 +13,10 @@ Execution example::
# "max_command_version": 2,
# "n_queries": 0,
# "cache_hit_rate": 0.0,
- # "version": "2.0.5",
- # "alloc_count": 142,
+ # "version": "2.1.0",
+ # "alloc_count": 152,
# "command_version": 1,
- # "starttime": 1343713486,
+ # "starttime": 1356678603,
# "default_command_version": 1
# }
# ]

0 comments on commit 1957c6a

Please sign in to comment.