| 1 |
table_create Memos TABLE_NO_KEY |
| 2 |
[[0,0.0,0.0],true] |
| 3 |
column_create Memos content COLUMN_SCALAR ShortText |
| 4 |
[[0,0.0,0.0],true] |
| 5 |
load --table Memos |
| 6 |
[ |
| 7 |
{"content": "Hello"}, |
| 8 |
{"content": "Good-bye"} |
| 9 |
] |
| 10 |
[[0,0.0,0.0],2] |
| 11 |
table_create Terms TABLE_DAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto |
| 12 |
[[0,0.0,0.0],true] |
| 13 |
column_create Terms memos_content COLUMN_INDEX|WITH_POSITION Memos content |
| 14 |
[[0,0.0,0.0],true] |
| 15 |
select Memos --match_columns content --query "Good" |
| 16 |
[[0,0.0,0.0],[[[1],[["_id","UInt32"],["content","ShortText"]],[2,"Good-bye"]]]] |