| 1 |
# This is too slow with HTTP chunked. |
| 2 |
#@require-interface stdio |
| 3 |
|
| 4 |
table_create Data TABLE_NO_KEY |
| 5 |
column_create Data value1 COLUMN_SCALAR Text |
| 6 |
column_create Data value2 COLUMN_SCALAR Text |
| 7 |
|
| 8 |
#@timeout 120 |
| 9 |
#@disable-logging |
| 10 |
#@generate-series 1 100000 Data '{"value1" => "Hello #{i}", "value2" => "World #{i}"}' |
| 11 |
#@enable-logging |
| 12 |
#@timeout default |
| 13 |
|
| 14 |
table_create Lexicon TABLE_PAT_KEY ShortText \ |
| 15 |
--default_tokenizer TokenBigram \ |
| 16 |
--normalizer NormalizerNFKC |
| 17 |
column_create Lexicon data_values COLUMN_INDEX|WITH_SECTION|WITH_POSITION \ |
| 18 |
Data value1,value2 |
| 19 |
|
| 20 |
index_column_diff Lexicon data_values |