#@on-error omit plugin_register sharding #@on-error default table_create Memos_20170416 TABLE_NO_KEY column_create Memos_20170416 timestamp COLUMN_SCALAR Time column_create Memos_20170416 title COLUMN_SCALAR Text column_create Memos_20170416 content COLUMN_SCALAR Text table_create Memos_20170417 TABLE_NO_KEY column_create Memos_20170417 timestamp COLUMN_SCALAR Time column_create Memos_20170417 title COLUMN_SCALAR Text column_create Memos_20170417 content COLUMN_SCALAR Text load --table Memos_20170416 [ {"timestamp": "2017/04/16 10:00:00", "title": "Easy PGroonga", "content": "PGroonga is fast and easy to use."}, {"timestamp": "2017/04/16 11:00:00", "title": "Easy Rroonga", "content": "Rroonga is fast and easy to use."} ] load --table Memos_20170417 [ {"timestamp": "2017/04/17 00:00:00", "title": "Easy Groonga", "content": "Groonga is fast."}, {"timestamp": "2017/04/17 01:00:00", "title": "Easy Mroonga", "content": "Mroonga is fast and easy to use."} ] logical_select Memos \ --shard_key timestamp \ --query easy \ --match_columns 'title' logical_select Memos \ --shard_key timestamp \ --query easy \ --match_columns 'content'