Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
You can disable dumping records by "--dump_records no".
- Loading branch information
Showing
3 changed files
with
54 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| plugin_register token_filters/stop_word | ||
| [[0,0.0,0.0],true] | ||
| table_create Users TABLE_HASH_KEY ShortText | ||
| [[0,0.0,0.0],true] | ||
| column_create Users name COLUMN_SCALAR ShortText | ||
| [[0,0.0,0.0],true] | ||
| table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto | ||
| [[0,0.0,0.0],true] | ||
| column_create Terms users_name_index COLUMN_INDEX|WITH_POSITION Users name | ||
| [[0,0.0,0.0],true] | ||
| load --table Users | ||
| [ | ||
| {"_key": "alice", "name": "Alice"} | ||
| ] | ||
| [[0,0.0,0.0],1] | ||
| dump --dump_records no | ||
| plugin_register token_filters/stop_word | ||
|
|
||
| table_create Users TABLE_HASH_KEY ShortText | ||
| column_create Users name COLUMN_SCALAR ShortText | ||
|
|
||
| table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto | ||
|
|
||
| column_create Terms users_name_index COLUMN_INDEX|WITH_POSITION Users name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| plugin_register token_filters/stop_word | ||
|
|
||
| table_create Users TABLE_HASH_KEY ShortText | ||
| column_create Users name COLUMN_SCALAR ShortText | ||
|
|
||
| table_create Terms TABLE_PAT_KEY ShortText \ | ||
| --default_tokenizer TokenBigram \ | ||
| --normalizer NormalizerAuto | ||
| column_create Terms users_name_index COLUMN_INDEX|WITH_POSITION Users name | ||
|
|
||
| load --table Users | ||
| [ | ||
| {"_key": "alice", "name": "Alice"} | ||
| ] | ||
|
|
||
| dump --dump_records no |