| 1 |
table_create Logs TABLE_NO_KEY |
| 2 |
[[0,0.0,0.0],true] |
| 3 |
column_create Logs message COLUMN_SCALAR Text |
| 4 |
[[0,0.0,0.0],true] |
| 5 |
table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto |
| 6 |
[[0,0.0,0.0],true] |
| 7 |
column_create Terms index COLUMN_INDEX|WITH_SECTION Logs message |
| 8 |
[[0,0.0,0.0],true] |
| 9 |
load --table Logs |
| 10 |
[ |
| 11 |
["message"], |
| 12 |
["Error: no such file."], |
| 13 |
["Critical: disk full."], |
| 14 |
["Error: invalid argument."] |
| 15 |
] |
| 16 |
[[0,0.0,0.0],3] |
| 17 |
select Terms --sortby -index |
| 18 |
[ |
| 19 |
[ |
| 20 |
0, |
| 21 |
0.0, |
| 22 |
0.0 |
| 23 |
], |
| 24 |
[ |
| 25 |
[ |
| 26 |
[ |
| 27 |
11 |
| 28 |
], |
| 29 |
[ |
| 30 |
[ |
| 31 |
"_id", |
| 32 |
"UInt32" |
| 33 |
], |
| 34 |
[ |
| 35 |
"_key", |
| 36 |
"ShortText" |
| 37 |
], |
| 38 |
[ |
| 39 |
"index", |
| 40 |
"Logs" |
| 41 |
] |
| 42 |
], |
| 43 |
[ |
| 44 |
6, |
| 45 |
".", |
| 46 |
10 |
| 47 |
], |
| 48 |
[ |
| 49 |
2, |
| 50 |
":", |
| 51 |
6 |
| 52 |
], |
| 53 |
[ |
| 54 |
1, |
| 55 |
"error", |
| 56 |
4 |
| 57 |
], |
| 58 |
[ |
| 59 |
7, |
| 60 |
"critical", |
| 61 |
1 |
| 62 |
], |
| 63 |
[ |
| 64 |
11, |
| 65 |
"argument", |
| 66 |
1 |
| 67 |
], |
| 68 |
[ |
| 69 |
8, |
| 70 |
"disk", |
| 71 |
1 |
| 72 |
], |
| 73 |
[ |
| 74 |
5, |
| 75 |
"file", |
| 76 |
1 |
| 77 |
], |
| 78 |
[ |
| 79 |
3, |
| 80 |
"no", |
| 81 |
1 |
| 82 |
], |
| 83 |
[ |
| 84 |
10, |
| 85 |
"invalid", |
| 86 |
1 |
| 87 |
], |
| 88 |
[ |
| 89 |
9, |
| 90 |
"full", |
| 91 |
1 |
| 92 |
] |
| 93 |
] |
| 94 |
] |
| 95 |
] |