Skip to content

Commit

Permalink
doc: update execution examples for select
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 28, 2012
1 parent 42321a3 commit a07e460
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
Expand Up @@ -4,8 +4,8 @@ Execution example::
[
[
0,
1335519594.2908,
0.000484466552734375
1335594540.29792,
0.000547885894775391
],
[
[
Expand All @@ -24,7 +24,7 @@ Execution example::
],
[
"Groonga",
1
11
]
]
]
Expand Down
13 changes: 6 additions & 7 deletions doc/source/example/commands/select/usage_setup.log
@@ -1,20 +1,19 @@
Execution example::

> table_create Entries TABLE_HASH_KEY ShortText
[[0,1335519590.44962,0.000199079513549805],true]
[[0,1335594537.43378,0.000381708145141602],true]
> column_create Entries content COLUMN_SCALAR Text
[[0,1335519590.65056,0.00111055374145508],true]
> table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram
[[0,1335519590.85251,0.0003509521484375],true]
[[0,1335594537.63582,0.000931501388549805],true]
> table_create Terms TABLE_PAT_KEY|KEY_NORMALIZE ShortText --default_tokenizer TokenBigram
[[0,1335594537.83776,0.000288009643554688],true]
> column_create Terms entries_key_index COLUMN_INDEX|WITH_POSITION Entries _key
[[0,1335519591.05379,0.0063786506652832],true]
[[0,1335594538.03901,0.0059964656829834],true]
> column_create Terms entries_content_index COLUMN_INDEX|WITH_POSITION Entries content
[[0,1335519591.26108,0.00663256645202637],true]
[[0,1335594538.24584,0.00617790222167969],true]
> load --table Entries
> [
> {"_key": "The first post!", "content": "Welcome! This is my first post!"},
> {"_key": "Groonga", "content": "I started to use groonga. It's very fast!"}
> {"_key": "Mroonga", "content": "I also started to use mroonga. It's also very fast! Really fast!"}
> ]
[[0,1335519591.46857,1.00182437896729],3]

0 comments on commit a07e460

Please sign in to comment.