Execution example:: table_create Data TABLE_HASH_KEY ShortText # [[0,1337566253.89858,0.000355720520019531],true] table_create Terms TABLE_PAT_KEY ShortText \ --default_tokenizer TokenNgram \ --normalizer NormalizerNFKC130 # [[0,1337566253.89858,0.000355720520019531],true] load --table Data [ {"_key": "Hello World"}, {"_key": "Hello Groonga"} ] # [[0,1337566253.89858,0.000355720520019531],2] column_create \ --table Terms \ --name data_index \ --flags COLUMN_INDEX|WITH_POSITION \ --type Data \ --source _key # [[0,1337566253.89858,0.000355720520019531],true] truncate Terms.data_index # [[0,1337566253.89858,0.000355720520019531],true] load --table Data [ {"_key": "Good-by World"}, {"_key": "Good-by Groonga"} ] # [[0,1337566253.89858,0.000355720520019531],2] index_column_diff Terms data_index # [ # [ # 0, # 1337566253.89858, # 0.000355720520019531 # ], # [ # { # "token": { # "id": 2, # "value": "hello" # }, # "remains": [ # # ], # "missings": [ # { # "record_id": 1, # "position": 0 # }, # { # "record_id": 2, # "position": 0 # } # ] # }, # { # "token": { # "id": 3, # "value": "world" # }, # "remains": [ # # ], # "missings": [ # { # "record_id": 1, # "position": 1 # } # ] # }, # { # "token": { # "id": 1, # "value": "groonga" # }, # "remains": [ # # ], # "missings": [ # { # "record_id": 2, # "position": 1 # } # ] # } # ] # ]